Skip to content

v0.9.1

Latest

Choose a tag to compare

@github-actions github-actions released this 09 Nov 19:48
Immutable release. Only release title and notes can be modified.

Highlights

  • Size limit: syntax reports a CODEOWNERS file over GitHub's 3 MiB limit. GitHub ignores such a file, and its CODEOWNERS errors API reports nothing, so owners passes. From 80% of the limit, syntax reports 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.
  • notowned and avoid-shadowing are regular checks, selected with CHECKS, so they can also run alone. avoid-shadowing now 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: duppatterns reports docs/api and /docs/api as 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-shadowing takes about a second.
  • Sturdier installation: install.sh retries 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 (the experimental_checks input) was removed, and setting it fails. List notowned and avoid-shadowing in CHECKS (checks) instead. The default checks are unchanged: syntax, duppatterns, files, and owners.
  • avoid-shadowing reports the line that has no effect, instead of the later line, and only when later lines take precedence for every file that it matches.
  • duppatterns issues 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