Add images compression by upx --brute
Thanks to that the binary size is reduced from ~10MB to ~1.9MB for each platform.
Fix not owned file checker
When the .gitingore has no new line then the ignored pattern was added in the same line and it was not applied by git, so we had false negative.
Add support for defining env prefix
This feature was need as the GitHub Actions are injecting envs with INPUT prefix, e.g. INPUT_CHECKS.
⚠️ Change query for getting org teams
Change requires also repository name. Because of that the OWNER_CHECKER_ORGANIZATION_NAME env was replaced by OWNER_CHECKER_REPOSITORY. More information in README.md file.
Description
Changes proposed in this pull request:
Add support for building docker images Such images are published when new release is created:
mszostok/codeowners-validator:latest
mszostok/codeowners-validator:v{{ .Major }}.{{ .Minor }}.{{ .Patch}}
mszostok/codeowners-validator:v{{ .Major }}.{{ .Minor }}
Add images compression by
upx --brute
Thanks to that the binary size is reduced from ~10MB to ~1.9MB for each platform.Fix not owned file checker When the .gitingore has no new line then the ignored pattern was added in the same line and it was not applied by git, so we had false negative.
Add support for defining env prefix This feature was need as the GitHub Actions are injecting envs with
INPUT
prefix, e.g. INPUT_CHECKS.⚠️ Change query for getting org teams Change requires also repository name. Because of that the
OWNER_CHECKER_ORGANIZATION_NAME
env was replaced byOWNER_CHECKER_REPOSITORY
. More information in README.md file.Previously we used: https://developer.github.com/v3/teams/#list-teams Now we are using such query: https://developer.github.com/v3/repos/#list-teams