mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 17:05:18 +00:00
56b26753a5
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 1.1.2 to 2.1.2. <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.1.2</h2> <h2>What's Changed</h2> <h3>Fixes</h3> <ul> <li>🌱 Bump scorecard dependency to v4.10.2 to remove a CODEOWNERS printf statement. by <a href="https://github.com/spencerschrock"><code>@spencerschrock</code></a> in <a href="https://github-redirect.dependabot.com/ossf/scorecard-action/pull/1054">ossf/scorecard-action#1054</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/ossf/scorecard-action/compare/v2.1.1...v2.1.2">https://github.com/ossf/scorecard-action/compare/v2.1.1...v2.1.2</a></p> <h2>v2.1.1</h2> <h2>Scorecard version</h2> <p>This release use <a href="https://github.com/ossf/scorecard/releases/tag/v4.10.1">Scorecard's v4.10.1</a></p> <p><strong>Full Changelog</strong>: <a href="https://github.com/ossf/scorecard-action/compare/v2.1.0...v2.1.1">https://github.com/ossf/scorecard-action/compare/v2.1.0...v2.1.1</a></p> <h2>v2.1.0</h2> <h2>What's Changed</h2> <h3>Scorecard version</h3> <p>This release uses <a href="https://github.com/ossf/scorecard/releases/tag/v4.10.0">scorecard v4.10.0</a>.</p> <h3>Improvements</h3> <ul> <li>Docker build workflow by <a href="https://github.com/naveensrinivasan"><code>@naveensrinivasan</code></a> in <a href="https://github-redirect.dependabot.com/ossf/scorecard-action/pull/981">ossf/scorecard-action#981</a></li> <li>Use root user in distroless to support GitHub Actions by <a href="https://github.com/spencerschrock"><code>@spencerschrock</code></a> in <a href="https://github-redirect.dependabot.com/ossf/scorecard-action/pull/994">ossf/scorecard-action#994</a></li> <li>Disable pull_request_target by <a href="https://github.com/laurentsimon"><code>@laurentsimon</code></a> in <a href="https://github-redirect.dependabot.com/ossf/scorecard-action/pull/1031">ossf/scorecard-action#1031</a></li> </ul> <h3>Documentation</h3> <ul> <li>Add PAT section explaining risks by <a href="https://github.com/olivekl"><code>@olivekl</code></a> in <a href="https://github-redirect.dependabot.com/ossf/scorecard-action/pull/1024">ossf/scorecard-action#1024</a></li> <li>Make the badge text easier to copy by <a href="https://github.com/rajbos"><code>@rajbos</code></a> in <a href="https://github-redirect.dependabot.com/ossf/scorecard-action/pull/1026">ossf/scorecard-action#1026</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/joycebrum"><code>@joycebrum</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/ossf/scorecard-action/pull/984">ossf/scorecard-action#984</a></li> <li><a href="https://github.com/rajbos"><code>@rajbos</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/ossf/scorecard-action/pull/1026">ossf/scorecard-action#1026</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/ossf/scorecard-action/compare/v2.0.6...v2.1.0">https://github.com/ossf/scorecard-action/compare/v2.0.6...v2.1.0</a></p> <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> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="e38b1902ae
"><code>e38b190</code></a> Bump docker tag for release. (<a href="https://github-redirect.dependabot.com/ossf/scorecard-action/issues/1055">#1055</a>)</li> <li><a href="7da02bf0d5
"><code>7da02bf</code></a> Bump scorecard to v4.10.2 to remove a CODEOWNERS printf statement. (<a href="https://github-redirect.dependabot.com/ossf/scorecard-action/issues/1054">#1054</a>)</li> <li><a href="013c0f8bd2
"><code>013c0f8</code></a> 🌱 Bump actions/dependency-review-action from 3.0.1 to 3.0.2</li> <li><a href="f93c094f4a
"><code>f93c094</code></a> 🌱 Bump github/codeql-action from 2.1.36 to 2.1.37</li> <li><a href="ce8978e058
"><code>ce8978e</code></a> 🌱 Bump actions/upload-artifact from 3.1.0 to 3.1.1</li> <li><a href="5ce49db1aa
"><code>5ce49db</code></a> 🌱 Bump actions/setup-go from 3.4.0 to 3.5.0</li> <li><a href="15c10fcf1c
"><code>15c10fc</code></a> Update tag to v2.1.1 (<a href="https://github-redirect.dependabot.com/ossf/scorecard-action/issues/1047">#1047</a>)</li> <li><a href="f96da1a128
"><code>f96da1a</code></a> 🌱 Update scorecard for the panic (<a href="https://github-redirect.dependabot.com/ossf/scorecard-action/issues/1045">#1045</a>)</li> <li><a href="813a825152
"><code>813a825</code></a> Complete the list of required actions (<a href="https://github-redirect.dependabot.com/ossf/scorecard-action/issues/1044">#1044</a>)</li> <li><a href="be62ea89c1
"><code>be62ea8</code></a> Update RELEASE.md (<a href="https://github-redirect.dependabot.com/ossf/scorecard-action/issues/1042">#1042</a>)</li> <li>Additional commits viewable in <a href="ce330fde6b...e38b1902ae
">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=1.1.2&new-version=2.1.2)](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>
68 lines
2.3 KiB
YAML
68 lines
2.3 KiB
YAML
name: Scorecards supply-chain security
|
|
|
|
on:
|
|
# Only the default branch is supported.
|
|
workflow_dispatch: # Manual
|
|
branch_protection_rule:
|
|
schedule:
|
|
- cron: '30 4 * * 0'
|
|
push:
|
|
branches: [ main ]
|
|
|
|
# This allows a subsequently queued workflow run to interrupt previous runs
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id}}
|
|
cancel-in-progress: true
|
|
|
|
defaults:
|
|
run:
|
|
# fail-fast using bash -eo pipefail. See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#exit-codes-and-error-action-preference
|
|
shell: bash
|
|
|
|
# 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
|
|
|
|
steps:
|
|
- name: "Checkout code"
|
|
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v2.4.0
|
|
with:
|
|
persist-credentials: false
|
|
|
|
- name: "Run analysis"
|
|
uses: ossf/scorecard-action@e38b1902ae4f44df626f11ba0734b14fb91f8f86 # v1.0.4
|
|
with:
|
|
results_file: results.sarif
|
|
results_format: sarif
|
|
# Read-only PAT token. To create it,
|
|
# follow the steps in https://github.com/ossf/scorecard-action#pat-token-creation.
|
|
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.
|
|
# For private repositories, `publish_results` will automatically be set to `false`,
|
|
# regardless of the value entered here.
|
|
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 GitHub's code scanning dashboard.
|
|
- name: "Upload to code-scanning"
|
|
uses: github/codeql-action/upload-sarif@c7f292ea4f542c473194b33813ccd4c207a6c725 # v1.0.26
|
|
with:
|
|
sarif_file: results.sarif
|