Skip to content

Commit 367cf9a

Browse files
build(deps): bump ossf/scorecard-action from 2.4.4 to 2.6.0 (#2157)
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 2.4.4 to 2.6.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/ossf/scorecard-action/releases">ossf/scorecard-action's releases</a>.</em></p> <blockquote> <h2>v2.6.0</h2> <p>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 <a href="https://github.com/ossf/scorecard/releases/tag/v5.7.0">Scorecard v5.7.0 release notes</a>.</p> <h2>Getting started</h2> <p>This is the first release with ready-to-use workflows in this repository. To add Scorecard to a repository, copy one into <code>.github/workflows/scorecard.yml</code>:</p> <ul> <li><a href="https://github.com/ossf/scorecard-action/blob/main/examples/scorecard.yml"><code>examples/scorecard.yml</code></a> for public repositories. It publishes results to the Scorecard API, which enables the badge and the REST API, and fails the step if the API rejects them.</li> <li><a href="https://github.com/ossf/scorecard-action/blob/main/examples/scorecard-private.yml"><code>examples/scorecard-private.yml</code></a> for private repositories. It doesn't publish.</li> </ul> <p>Both pin every action to a full commit SHA, set <code>cache-mode: none</code>, and upload results even when an earlier step fails. CI lints them with zizmor, actionlint and yamllint. If your linter reports <code>cache-mode</code> as unknown, see <a href="https://github.com/ossf/scorecard-action#workflow-linters">Workflow Linters</a>.</p> <p>Copy the examples from <code>main</code>, which pins this release. A tagged commit can't pin its own SHA, so the copies at the <code>v2.6.0</code> tag still name v2.5.0.</p> <p>To add the workflow to many repositories at once, the installer opens a pull request in each one. See <a href="https://github.com/ossf/scorecard-action/blob/main/docs/installer.md"><code>docs/installer.md</code></a>.</p> <h2>What's Changed</h2> <ul> <li>New <code>fail_on_publish_error</code> input (default <code>false</code>): when set, the step fails if the Scorecard API rejects the results. Network errors and HTTP 408, 429 and 5xx stay warnings. New outputs <code>results_published</code> and <code>publication_status</code> 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 <a href="https://github.com/justaugustus"><code>@​justaugustus</code></a> in <a href="https://redirect.github.com/ossf/scorecard-action/pull/1721">ossf/scorecard-action#1721</a></li> <li>Example workflows for public and private repositories in <code>examples/</code>, with every action pinned to a full SHA. by <a href="https://github.com/justaugustus"><code>@​justaugustus</code></a> in <a href="https://redirect.github.com/ossf/scorecard-action/pull/1722">ossf/scorecard-action#1722</a></li> <li>The examples set <code>cache-mode: none</code> and upload results even when an earlier step fails. The README's new Workflow Linters section lists which linter versions recognize <code>cache-mode</code>. by <a href="https://github.com/justaugustus"><code>@​justaugustus</code></a> in <a href="https://redirect.github.com/ossf/scorecard-action/pull/1727">ossf/scorecard-action#1727</a></li> <li>The installer (<code>cmd/installer</code>) adds the generated example workflow with the repository's default branch, and no longer needs a starter-workflows checkout. Usage is in <code>docs/installer.md</code>. by <a href="https://github.com/justaugustus"><code>@​justaugustus</code></a> in <a href="https://redirect.github.com/ossf/scorecard-action/pull/1728">ossf/scorecard-action#1728</a></li> </ul> <h3>Other</h3> <ul> <li>Point getting started at the v2.6.0 example workflows by <a href="https://github.com/justaugustus"><code>@​justaugustus</code></a> in <a href="https://redirect.github.com/ossf/scorecard-action/pull/1750">ossf/scorecard-action#1750</a></li> <li>Lint the example workflows in CI by <a href="https://github.com/justaugustus"><code>@​justaugustus</code></a> in <a href="https://redirect.github.com/ossf/scorecard-action/pull/1724">ossf/scorecard-action#1724</a></li> <li>Move CI to golangci-lint v2 by <a href="https://github.com/justaugustus"><code>@​justaugustus</code></a> in <a href="https://redirect.github.com/ossf/scorecard-action/pull/1725">ossf/scorecard-action#1725</a></li> <li>Read <code>publish_results</code> into the options struct by <a href="https://github.com/arpitjain099"><code>@​arpitjain099</code></a> in <a href="https://redirect.github.com/ossf/scorecard-action/pull/1731">ossf/scorecard-action#1731</a></li> <li>Bump Scorecard to main ahead of v5.7.0 by <a href="https://github.com/justaugustus"><code>@​justaugustus</code></a> in <a href="https://redirect.github.com/ossf/scorecard-action/pull/1744">ossf/scorecard-action#1744</a></li> <li>Bump Scorecard to v5.7.0 by <a href="https://github.com/justaugustus"><code>@​justaugustus</code></a> in <a href="https://redirect.github.com/ossf/scorecard-action/pull/1746">ossf/scorecard-action#1746</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/ossf/scorecard-action/compare/v2.5.0...v2.6.0">https://github.com/ossf/scorecard-action/compare/v2.5.0...v2.6.0</a></p> <h2>v2.5.0</h2> <h2>What's Changed</h2> <p>This release moves the action to Scorecard v5.6.0, the first Scorecard release since its hosted services moved to new infrastructure.</p> <p>For changes to checks and results, and what the infrastructure move means for you, see the <a href="https://github.com/ossf/scorecard/releases/tag/v5.6.0">Scorecard v5.6.0 release notes</a>.</p> <ul> <li>The action's container image is built with Go 1.27.2 on a refreshed distroless base. by <a href="https://github.com/justaugustus"><code>@​justaugustus</code></a> in <a href="https://redirect.github.com/ossf/scorecard-action/pull/1716">ossf/scorecard-action#1716</a></li> <li>The installer (<code>cmd/installer</code>) now creates <code>.github/workflows/scorecard.yml</code>, and still recognizes existing <code>scorecards.yml</code> and <code>scorecards-analysis.yml</code> workflows. by <a href="https://github.com/justaugustus"><code>@​justaugustus</code></a> in <a href="https://redirect.github.com/ossf/scorecard-action/pull/1716">ossf/scorecard-action#1716</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/ossf/scorecard-action/commit/23f22cd43608bae7a1f1fa2603d7314dee9538a5"><code>23f22cd</code></a> :seedling: Bump action tag for v2.6.0 release (<a href="https://redirect.github.com/ossf/scorecard-action/issues/1749">#1749</a>)</li> <li><a href="https://github.com/ossf/scorecard-action/commit/9f58c4b147d93c196c685003421ceaccb20b3cca"><code>9f58c4b</code></a> :seedling: Bump the github-actions group across 2 directories with 8 updates ...</li> <li><a href="https://github.com/ossf/scorecard-action/commit/a591f5fb7d80b120d400391e23f321409b4076ec"><code>a591f5f</code></a> :seedling: Bump distroless/base (<a href="https://redirect.github.com/ossf/scorecard-action/issues/1745">#1745</a>)</li> <li><a href="https://github.com/ossf/scorecard-action/commit/c0591f84453160d264c0611724c74576b559f0f0"><code>c0591f8</code></a> Read <code>publish_results</code> into the options struct (<a href="https://redirect.github.com/ossf/scorecard-action/issues/1731">#1731</a>)</li> <li><a href="https://github.com/ossf/scorecard-action/commit/8e358b3126ddf0606f2dbbd329d899ea2f4d1057"><code>8e358b3</code></a> :seedling: Bump scorecard to v5.7.0 (<a href="https://redirect.github.com/ossf/scorecard-action/issues/1746">#1746</a>)</li> <li><a href="https://github.com/ossf/scorecard-action/commit/f0165b973754ee67012be27c6377332f37d70593"><code>f0165b9</code></a> :seedling: Bump github.com/go-chi/chi/v5 from 5.3.0 to 5.4.0 (<a href="https://redirect.github.com/ossf/scorecard-action/issues/1735">#1735</a>)</li> <li><a href="https://github.com/ossf/scorecard-action/commit/7a8b5105514aa13d235260d84fd6f86d7bd676fc"><code>7a8b510</code></a> :seedling: Bump scorecard to main ahead of v5.7.0 (<a href="https://redirect.github.com/ossf/scorecard-action/issues/1744">#1744</a>)</li> <li><a href="https://github.com/ossf/scorecard-action/commit/3e931c8cb6ae3ef28804a82c1e76ce290610138f"><code>3e931c8</code></a> :seedling: Bump the github-actions group across 1 directory with 7 updates (#...</li> <li><a href="https://github.com/ossf/scorecard-action/commit/365df9f035d4b5177b9cd57330f8c3dfa6134420"><code>365df9f</code></a> :seedling: Bump the github-actions group across 1 directory with 3 updates (#...</li> <li><a href="https://github.com/ossf/scorecard-action/commit/e04b7a8834a20c992877a013b009ffcb00692f56"><code>e04b7a8</code></a> :sparkles: Install the generated workflow from the installer (<a href="https://redirect.github.com/ossf/scorecard-action/issues/1728">#1728</a>)</li> <li>Additional commits viewable in <a href="https://github.com/ossf/scorecard-action/compare/2d1146689b8cda280b9bc96326124645441f03bc...23f22cd43608bae7a1f1fa2603d7314dee9538a5">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=ossf/scorecard-action&package-manager=github_actions&previous-version=2.4.4&new-version=2.6.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> [skip ci]
1 parent 0b71fd1 commit 367cf9a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎.github/workflows/scorecards.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
persist-credentials: false
3939

4040
- name: "Run analysis"
41-
uses: ossf/scorecard-action@2d1146689b8cda280b9bc96326124645441f03bc # v2.4.4
41+
uses: ossf/scorecard-action@23f22cd43608bae7a1f1fa2603d7314dee9538a5 # v2.6.0
4242
with:
4343
results_file: results.sarif
4444
results_format: sarif

0 commit comments

Comments
 (0)