Skip to content

2.0.0

Latest

Choose a tag to compare

@matemoln matemoln released this 04 Sep 15:31
· 2 commits to master since this release
Immutable release. Only release title and notes can be modified.
1181d42

Breaking changes

Permission changes

  • id-token: write permission is now required
  • The repository must be granted Vault access to the Artifactory private-reader / public-reader token used for Repox
    authentication (the reader is chosen from the repository visibility)

Input and output parameter changes

  • extra-args now has event-based defaults. Drop the old PR-only --from-ref / --to-ref to use the now automatically
    supported merge_group and push triggers:
    • on pull_request and merge_group events: incremental --from-ref / --to-ref (base...head).
    • on push, workflow_dispatch, and other events: --all-files.
  • ignore-failure input is removed and can be safely dropped from the workflow. Hook failures now always fail the
    action step, including on push and merge_group triggers.
  • status and logs outputs are removed.

Pre-commit version update

  • The action installs the pre-commit CLI only when it is not already available in the environment. v1 installed
    3.7.1; v2 installs 4.6.2. If a caller already provides pre-commit on PATH (for example using
    SonarSource/mise-action-wrapper), that version is used unchanged.

Performance improvements

  • pre-commit CLI and hooks are cached on S3

Full Changelog: 1.2.1...2.0.0