Skip to content

Choose a tag to compare

@justaugustus justaugustus released this 19 Nov 05:31
· 1 commit to main since this release
v2.6.0
23f22cd

This release moves the action to Scorecard v5.7.0, built with Go 1.27.4. For changes to checks and results, and the security fixes in this Scorecard release, see the Scorecard v5.7.0 release notes.

Getting started

This is the first release with ready-to-use workflows in this repository. To add Scorecard to a repository, copy one
into .github/workflows/scorecard.yml:

Both pin every action to a full commit SHA, set cache-mode: none, and upload results even when an earlier step fails.
CI lints them with zizmor, actionlint and yamllint. If your linter reports cache-mode as unknown, see Workflow Linters.

Copy the examples from main, which pins this release. A tagged commit can't pin its own SHA, so the copies at the v2.6.0 tag still name v2.5.0.

To add the workflow to many repositories at once, the installer opens a pull request in each one.
See docs/installer.md.

What's Changed

  • New fail_on_publish_error input (default false): when set, the step fails if the Scorecard API rejects the results. Network errors and HTTP 408, 429 and 5xx stay warnings. New outputs results_published and publication_status report whether publishing worked, and the job summary says so. A rejected (4xx) publish is now sent once instead of three times, and the publish error and warning show as annotations. by @justaugustus in #1721
  • Example workflows for public and private repositories in examples/, with every action pinned to a full SHA. by @justaugustus in #1722
  • The examples set cache-mode: none and upload results even when an earlier step fails. The README's new Workflow Linters section lists which linter versions recognize cache-mode. by @justaugustus in #1727
  • The installer (cmd/installer) adds the generated example workflow with the repository's default branch, and no longer needs a starter-workflows checkout. Usage is in docs/installer.md. by @justaugustus in #1728

Other

Full Changelog: v2.5.0...v2.6.0