Skip to content

v0.3.0

Compare
Choose a tag to compare
@mszostok mszostok released this 18 Mar 18:49

🚨GitHub Codeowners Validator 0.3.0 is now available!

In this release, we’ve focused more on bug fixing and updating the project from the developer’s perspective.

Highlights

  • The team permission check was removed as it was based on a permission field which is now deprecated.

  • The  organization teams check was fixed by adding pagination support for fetching teams names.

    Problem description: Previously we downloaded only the first page of the organization’s teams. By default, a page is only 30 items. Organizations with >30 teams may have had some teams that were not visible to the check. This caused the checker to think a config was invalid even if it actually wasn’t.

    Special thanks to @jhump for detecting and fixing that problem!

  • Now environments variable are required only if a given check is enabled. Previously, even if the check was disabled, the environment variable connected with that check was still required.

  • The project has switched from Dep to Go modules so it is more friendly to external contributors.

Installation

To install the codeowners-validator, run:

# Install codeowners-validator in /usr/local/bin in version 0.3.0
curl -sfL https://raw.githubusercontent.com/mszostok/codeowners-validator/master/install.sh| sh -s -- -b /usr/local/bin v0.3.0

See the Installation section for more installation options.

⚠️ Breaking changes

All detected issues with a given CODEOWNERS files are now reported as error. From this release, the warning level will only be used for cases that are against best practices.

We’d really appreciate any feedback and any issues you may run into.

Changelog 🚀

bd9a2e2 Add dependabot and add testing against Go 1.12 and 1.13
8a21d9e Switch to go modules, update dependencies to newest ones (#28)
370cd11 Add templates for github pr and issues (#27)
cac5de0 Cleanup init check logic, require configuration only if needed (#26)
62b4264 Fix async write to map and print result (#25)
25929b2 Remove checking team permission as it is not working properly (#24)
12fc383 update valid owner check to support case where there are more teams in organization than a single result page (#23)
d0a4022 Add demo recording to the README.md (#20)
1642c1e Update Roadmap and Installation sections in README.md

Contributors

Thanks again to everyone who contributed to this release! ✨

Users whose commits are in this release: