Repository navigation
Immutable
release. Only release title and notes can be modified.
Highlights
- Size limit:
syntaxreports a CODEOWNERS file over GitHub's 3 MiB limit. GitHub ignores such a file, and its CODEOWNERS errors API reports nothing, soownerspasses. From 80% of the limit,syntaxreports a warning. - Annotations and job summary: in GitHub Actions, every issue becomes an annotation on its CODEOWNERS line, so pull requests show issues inline, and the job summary lists the results.
notownedandavoid-shadowingare regular checks, selected withCHECKS, so they can also run alone.avoid-shadowingnow reports the lines that have no effect because later lines take precedence for every file they match, using GitHub's matching rules on the tracked files.- Duplicates written differently:
duppatternsreportsdocs/apiand/docs/apias the same pattern, since a slash in the middle anchors a pattern at the root. - Faster matching: patterns are only matched against files that contain their literal text. On a repository with 728k files and 12k patterns,
avoid-shadowingtakes about a second. - Sturdier installation:
install.shretries failed downloads, uses the given tag without looking it up, and verifies the release attestation with-a. - Immutable release: this release's tag and files can't change. The action verifies the archive against the release attestation, so pinning the action to a commit also pins the binary that it runs.
Breaking changes
EXPERIMENTAL_CHECKS(theexperimental_checksinput) was removed, and setting it fails. Listnotownedandavoid-shadowinginCHECKS(checks) instead. The default checks are unchanged:syntax,duppatterns,files, andowners.avoid-shadowingreports the line that has no effect, instead of the later line, and only when later lines take precedence for every file that it matches.duppatternsissues are on the last line that defines the pattern.- The check names no longer start with
[Experimental]. - On github.com, the action needs the GitHub CLI, which GitHub-hosted runners have.
Changelog
- 8ae7ac1: Report a CODEOWNERS file over GitHub's size limit (@mlarraz)
- dca2348: Report issues as annotations and in the job summary in GitHub Actions (@mlarraz)
- 1ccb1c7: Retry downloads in the install script and use the given tag as is (@mlarraz)
- 50e0da8: Only test the files that contain a pattern's literal text (@mlarraz)
- 0f8536d: Make notowned and avoid-shadowing regular checks, and rebuild avoid-shadowing (@mlarraz)
- 46bf53e: Report duplicate patterns that are written differently (@mlarraz)
- 6feff51: Verify the release attestation in the action (@mlarraz)
- 5ba8645: Release v0.9.1 (@mlarraz)