mirror of
https://github.com/theupdateframework/python-tuf
synced 2026-05-24 10:08:28 +00:00
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 2.3.0 to 2.3.1.
- [Release notes](https://github.com/ossf/scorecard-action/releases)
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md)
- [Commits](483ef80eb9...0864cf1902)
---
updated-dependencies:
- dependency-name: ossf/scorecard-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
40 lines
1.3 KiB
YAML
40 lines
1.3 KiB
YAML
name: Scorecards analysis
|
|
on:
|
|
branch_protection_rule:
|
|
schedule:
|
|
- cron: '21 6 * * 1'
|
|
push:
|
|
branches: [ develop ]
|
|
workflow_dispatch:
|
|
|
|
permissions: {}
|
|
|
|
jobs:
|
|
analysis:
|
|
name: Scorecards analysis
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
# NOTE: If you add security critical permissions, start pinning used actions
|
|
security-events: write # for uploading to code-scanning dashboard
|
|
id-token: write # for publishing results in scorecard public dataset
|
|
actions: read
|
|
contents: read
|
|
|
|
steps:
|
|
- name: "Checkout code"
|
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
|
|
|
- name: "Run analysis"
|
|
uses: ossf/scorecard-action@0864cf19026789058feabb7e87baa5f140aac736 # v2.3.1
|
|
with:
|
|
results_file: results.sarif
|
|
# sarif format required by upload-sarif action
|
|
results_format: sarif
|
|
# "repo_token" not set because personal access tokens are dangerous.
|
|
# This means Branch-Protection check will not have correct results.
|
|
publish_results: true
|
|
|
|
- name: "Upload to code-scanning dashboard"
|
|
uses: github/codeql-action/upload-sarif@v2 # unpinned since this is not security critical
|
|
with:
|
|
sarif_file: results.sarif
|