puppeteer/.github/workflows/scorecards-analysis.yml

55 lines
1.6 KiB
YAML
Raw Normal View History

name: Scorecards supply-chain security
2022-05-31 12:55:46 +00:00
on:
# Only the default branch is supported.
branch_protection_rule:
schedule:
- cron: '23 8 * * 6'
push:
branches: [main]
# Declare default permissions as read only.
permissions: read-all
jobs:
analysis:
name: Scorecards analysis
runs-on: ubuntu-latest
permissions:
# Needed to upload the results to code-scanning dashboard.
security-events: write
actions: read
contents: read
# Needed to access OIDC token.
id-token: write
steps:
2022-10-06 10:44:45 +00:00
- name: Check out repository
uses: actions/checkout@v3.0.2
with:
persist-credentials: false
- name: 'Run analysis'
chore(deps): bump ossf/scorecard-action from 2.0.3 to 2.0.6 (#9170) Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 2.0.3 to 2.0.6. <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.0.6</h2> <h2>What's Changed</h2> <ul> <li>Fix - Broken dockerfile by <a href="https://github.com/naveensrinivasan"><code>@​naveensrinivasan</code></a> in <a href="https://github-redirect.dependabot.com/ossf/scorecard-action/pull/979">ossf/scorecard-action#979</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/ossf/scorecard-action/compare/v2.0.5...v2.0.6">https://github.com/ossf/scorecard-action/compare/v2.0.5...v2.0.6</a></p> <h2>v2.0.5</h2> <h2>What's Changed</h2> <ul> <li>Remove trailing space from example by <a href="https://github.com/jamacku"><code>@​jamacku</code></a> in <a href="https://github-redirect.dependabot.com/ossf/scorecard-action/pull/955">ossf/scorecard-action#955</a></li> <li>:seedling: Bump actions/cache from 3.0.8 to 3.0.10 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://github-redirect.dependabot.com/ossf/scorecard-action/pull/956">ossf/scorecard-action#956</a></li> <li>:seedling: Bump github/codeql-action from 2.1.25 to 2.1.26 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://github-redirect.dependabot.com/ossf/scorecard-action/pull/957">ossf/scorecard-action#957</a></li> <li>:seedling: Bump step-security/harden-runner from 1.4.5 to 1.5.0 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://github-redirect.dependabot.com/ossf/scorecard-action/pull/958">ossf/scorecard-action#958</a></li> <li>:seedling: Bump debian from <code>5cf1d98</code> to <code>b46fc4e</code> by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://github-redirect.dependabot.com/ossf/scorecard-action/pull/959">ossf/scorecard-action#959</a></li> <li>:seedling: Bump github.com/sigstore/cosign from 1.12.1 to 1.13.0 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://github-redirect.dependabot.com/ossf/scorecard-action/pull/962">ossf/scorecard-action#962</a></li> <li>:seedling: Upgrade to go 1.19 by <a href="https://github.com/naveensrinivasan"><code>@​naveensrinivasan</code></a> in <a href="https://github-redirect.dependabot.com/ossf/scorecard-action/pull/961">ossf/scorecard-action#961</a></li> <li>:seedling: Bump github.com/spf13/cobra from 1.5.0 to 1.6.0 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://github-redirect.dependabot.com/ossf/scorecard-action/pull/967">ossf/scorecard-action#967</a></li> <li>:seedling: Bump golang from <code>c2a98a5</code> to <code>b850621</code> by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://github-redirect.dependabot.com/ossf/scorecard-action/pull/966">ossf/scorecard-action#966</a></li> <li>:seedling: Bump golang from <code>b850621</code> to <code>25de7b6</code> by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://github-redirect.dependabot.com/ossf/scorecard-action/pull/968">ossf/scorecard-action#968</a></li> <li>New release for Scorecard v4.8.0 by <a href="https://github.com/naveensrinivasan"><code>@​naveensrinivasan</code></a> in <a href="https://github-redirect.dependabot.com/ossf/scorecard-action/pull/969">ossf/scorecard-action#969</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/jamacku"><code>@​jamacku</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/ossf/scorecard-action/pull/955">ossf/scorecard-action#955</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/ossf/scorecard-action/compare/v2.0.4...v2.0.5">https://github.com/ossf/scorecard-action/compare/v2.0.4...v2.0.5</a></p> <h2>v2.0.4</h2> <p>Fixes <a href="https://github-redirect.dependabot.com/ossf/scorecard-action/issues/856">#856</a></p> <h2>What's Changed</h2> <ul> <li>:seedling: Bump github.com/caarlos0/env/v6 from 6.10.0 to 6.10.1 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://github-redirect.dependabot.com/ossf/scorecard-action/pull/934">ossf/scorecard-action#934</a></li> <li>feat: do not run signing on pull requests by <a href="https://github.com/laurentsimon"><code>@​laurentsimon</code></a> in <a href="https://github-redirect.dependabot.com/ossf/scorecard-action/pull/935">ossf/scorecard-action#935</a></li> <li>:seedling: Bump debian from 11.4-slim to 11.5-slim by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://github-redirect.dependabot.com/ossf/scorecard-action/pull/936">ossf/scorecard-action#936</a></li> <li>:seedling: Bump github.com/sigstore/cosign from 1.11.1 to 1.12.0 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://github-redirect.dependabot.com/ossf/scorecard-action/pull/938">ossf/scorecard-action#938</a></li> <li>:seedling: Bump github/codeql-action from 2.1.22 to 2.1.24 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://github-redirect.dependabot.com/ossf/scorecard-action/pull/941">ossf/scorecard-action#941</a></li> <li>🐛 Restore behavior of ignoring scorecard runtime errors by <a href="https://github.com/spencerschrock"><code>@​spencerschrock</code></a> in <a href="https://github-redirect.dependabot.com/ossf/scorecard-action/pull/948">ossf/scorecard-action#948</a></li> <li>:seedling: Bump actions/dependency-review-action from 2.1.0 to 2.4.0 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://github-redirect.dependabot.com/ossf/scorecard-action/pull/950">ossf/scorecard-action#950</a></li> <li>:seedling: Bump github.com/sigstore/cosign from 1.12.0 to 1.12.1 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://github-redirect.dependabot.com/ossf/scorecard-action/pull/947">ossf/scorecard-action#947</a></li> <li>:seedling: Bump github/codeql-action from 2.1.24 to 2.1.25 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://github-redirect.dependabot.com/ossf/scorecard-action/pull/949">ossf/scorecard-action#949</a></li> <li>:seedling: Bump codecov/codecov-action from 3.1.0 to 3.1.1 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://github-redirect.dependabot.com/ossf/scorecard-action/pull/942">ossf/scorecard-action#942</a></li> <li>Create v2.0.4 patch by <a href="https://github.com/spencerschrock"><code>@​spencerschrock</code></a> in <a href="https://github-redirect.dependabot.com/ossf/scorecard-action/pull/952">ossf/scorecard-action#952</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/spencerschrock"><code>@​spencerschrock</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/ossf/scorecard-action/pull/948">ossf/scorecard-action#948</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/ossf/scorecard-action/compare/v2.0.3...v2.0.4">https://github.com/ossf/scorecard-action/compare/v2.0.3...v2.0.4</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/ossf/scorecard-action/commit/99c53751e09b9529366343771cc321ec74e9bd3d"><code>99c5375</code></a> Fix - Broken dockerfile (<a href="https://github-redirect.dependabot.com/ossf/scorecard-action/issues/979">#979</a>)</li> <li><a href="https://github.com/ossf/scorecard-action/commit/ff6221f2348c554e0bdd15d6fb8fd143f7a178a6"><code>ff6221f</code></a> New release for Scorecard v4.8.0 (<a href="https://github-redirect.dependabot.com/ossf/scorecard-action/issues/969">#969</a>)</li> <li><a href="https://github.com/ossf/scorecard-action/commit/608d08841747fea6f031de23954bfe06aff104f5"><code>608d088</code></a> :seedling: Bump golang from <code>b850621</code> to <code>25de7b6</code> (<a href="https://github-redirect.dependabot.com/ossf/scorecard-action/issues/968">#968</a>)</li> <li><a href="https://github.com/ossf/scorecard-action/commit/5e97403151e514d078e107f48fd7b30d997e2e5c"><code>5e97403</code></a> :seedling: Bump golang from <code>c2a98a5</code> to <code>b850621</code> (<a href="https://github-redirect.dependabot.com/ossf/scorecard-action/issues/966">#966</a>)</li> <li><a href="https://github.com/ossf/scorecard-action/commit/851b893ef5e9fcb4ab6eff9a0e212df81e1594ee"><code>851b893</code></a> :seedling: Bump github.com/spf13/cobra from 1.5.0 to 1.6.0 (<a href="https://github-redirect.dependabot.com/ossf/scorecard-action/issues/967">#967</a>)</li> <li><a href="https://github.com/ossf/scorecard-action/commit/c9866174c7a7adf700f7327ba54b43905cd3fd47"><code>c986617</code></a> :seedling: Upgrade to go 1.19 (<a href="https://github-redirect.dependabot.com/ossf/scorecard-action/issues/961">#961</a>)</li> <li><a href="https://github.com/ossf/scorecard-action/commit/c3d8fd9ebe92a053a2e7d416eaef2c528ed8eea2"><code>c3d8fd9</code></a> :seedling: Bump github.com/sigstore/cosign from 1.12.1 to 1.13.0 (<a href="https://github-redirect.dependabot.com/ossf/scorecard-action/issues/962">#962</a>)</li> <li><a href="https://github.com/ossf/scorecard-action/commit/6075f427ddbd183f245c54b4e1d4ef23c9cfed78"><code>6075f42</code></a> :seedling: Bump debian from <code>5cf1d98</code> to <code>b46fc4e</code> (<a href="https://github-redirect.dependabot.com/ossf/scorecard-action/issues/959">#959</a>)</li> <li><a href="https://github.com/ossf/scorecard-action/commit/f3005530a00aee1e783f51f3cb73e9f1dff8e2aa"><code>f300553</code></a> :seedling: Bump step-security/harden-runner from 1.4.5 to 1.5.0 (<a href="https://github-redirect.dependabot.com/ossf/scorecard-action/issues/958">#958</a>)</li> <li><a href="https://github.com/ossf/scorecard-action/commit/de0b2c5459107f76257b9b969a296573ccde8af8"><code>de0b2c5</code></a> :seedling: Bump github/codeql-action from 2.1.25 to 2.1.26 (<a href="https://github-redirect.dependabot.com/ossf/scorecard-action/issues/957">#957</a>)</li> <li>Additional commits viewable in <a href="https://github.com/ossf/scorecard-action/compare/865b4092859256271290c77adbd10a43f4779972...99c53751e09b9529366343771cc321ec74e9bd3d">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.0.3&new-version=2.0.6)](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 merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@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>
2022-11-03 16:18:02 +00:00
uses: ossf/scorecard-action@99c53751e09b9529366343771cc321ec74e9bd3d # v1.0.2
with:
results_file: results.sarif
results_format: sarif
repo_token: ${{ secrets.SCORECARD_READ_TOKEN }}
# Publish the results to enable scorecard badges. For more details, see
# https://github.com/ossf/scorecard-action#publishing-results.
publish_results: true
# Upload the results as artifacts (optional).
- name: 'Upload artifact'
uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 # v2.3.1
with:
name: SARIF file
path: results.sarif
retention-days: 5
# Upload the results to GitHubs code scanning dashboard.
- name: 'Upload to code-scanning'
uses: github/codeql-action/upload-sarif@6a38b7d4a1af70deb1b561eb77db2b5e5a6a1e69 # v1.0.26
with:
sarif_file: results.sarif