You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sparse checkouts:files and notowned read the list of tracked files from Git's index and match patterns with GitHub's rules, so a sparse, blobless checkout of just the CODEOWNERS file is enough, however big the repository. notowned no longer modifies the repository.
Owners validated by GitHub: the owners check reports the errors from GitHub's CODEOWNERS errors API, which is the evaluation GitHub uses to request reviews. It needs only read access to the repository contents: the workflow's GITHUB_TOKEN is enough, and public repositories work without credentials.
No Docker needed: the action installs the checksum-verified release binary, so it runs on Linux (including ubuntu-slim), macOS, and Windows runners.
Breaking changes
NOT_OWNED_CHECKER_TRUST_WORKSPACE is now TRUST_WORKSPACE. The action no longer has a trust input (not_owned_checker_trust_workspace), because the binary runs as the user that owns the checkout.
owners validates the CODEOWNERS file at the checked-out commit, which must exist on GitHub. Set OWNER_CHECKER_REF (owner_checker_ref) to validate another branch, tag, or commit.
github_access_token defaults to the workflow's token. When both a token and a GitHub App are configured, the App is used instead of failing.
Action inputs can no longer be set as INPUT_* environment variables instead of with:.
Changelog
ab820dd: Add a package that reads the repository from Git (@mlarraz)
f49a82e: Match file patterns against Git's tracked files (@mlarraz)
73891b5: Validate owners with GitHub's CODEOWNERS errors API (@mlarraz)
760b699: Run the action from the release binary instead of a Docker image (@mlarraz)