π GitHub Codeowners Validator 0.7.2 is now available!
Highlights
π§ Bug Fixes
- Handle internal err, return issue with empty codeowners or git dirty state (#130)
This fixes a tech debt wherecodeowners-validator
only logged the internal error and excited with0
status code. Now, if there is any error, a proper exit code is returned. - Allow comments in pattern line, update golangci-lint (#129) (@mszostok)
Recently, GitHub allowed comments in CODEOWNERS files to appear at the end of a line, not just on their own line. As a result, a validation rule was removed to conform with a new syntax.
β¨ New checks
- Add a flag to only allow teams as owners (#127) (@seveas)
Now you can enable more strict rule and specify that only teams are allowed as owners of files.
π‘οΈ Security
- Bump dependencies (#135) (@mszostok)
- Bump alpine from 3.15.3 to 3.15.4 (#136) (@dependabot[bot])
Installation
See the Installation section for more installation options.
Docker images
ghcr.io:
docker pull ghcr.io/mszostok/codeowners-validator:stable
docker pull ghcr.io/mszostok/codeowners-validator:v0
docker pull ghcr.io/mszostok/codeowners-validator:v0.7
docker pull ghcr.io/mszostok/codeowners-validator:v0.7.2
Changelog π
- d95ed83: Allow comments in pattern line, update golangci-lint (#129) (@mszostok)
- d7b92b1: Handle internal err, return issue with empty codeowners or git dirty state (#130) (@mszostok)
- bcdcc57: Bump dependencies (#135) (@mszostok)
- 3315c00: Add a flag to only allow teams as owners (#127) (@seveas)
- 5b87d6b: Add missing cfg in action.yml, add missing test for 'OwnersMustBeTeams' check (#137) (@mszostok)
- 127e9a8: Bump alpine from 3.15.3 to 3.15.4 (#136) (@dependabot[bot])
- f555ba6: Prepare for release v0.7.2 (#138) (@mszostok)