mirror of
https://github.com/theupdateframework/python-tuf
synced 2026-05-24 10:08:28 +00:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.0.0 to 4.1.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](3df4ab11eb...8ade135a41)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
39 lines
1.2 KiB
YAML
39 lines
1.2 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:
|
|
security-events: write # for uploading to code-scanning dashboard
|
|
id-token: write # for signing results
|
|
actions: read
|
|
contents: read
|
|
|
|
steps:
|
|
- name: "Checkout code"
|
|
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
|
|
|
|
- name: "Run analysis"
|
|
uses: ossf/scorecard-action@08b4669551908b1024bb425080c797723083c031 # v2.2.0
|
|
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@6a28655e3dcb49cb0840ea372fd6d17733edd8a4 # v2.21.8
|
|
with:
|
|
sarif_file: results.sarif
|