mirror of
https://github.com/theupdateframework/python-tuf
synced 2026-05-24 10:08:28 +00:00
Bumps the action-dependencies group with 2 updates in the / directory: [github/codeql-action](https://github.com/github/codeql-action) and [actions/dependency-review-action](https://github.com/actions/dependency-review-action). Updates `github/codeql-action` from 4 to 4.35.3 - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/github/codeql-action/compare/v4...v4.35.3) Updates `actions/dependency-review-action` from 4 to 4.9.0 - [Release notes](https://github.com/actions/dependency-review-action/releases) - [Commits](https://github.com/actions/dependency-review-action/compare/v4...v4.9.0) --- updated-dependencies: - dependency-name: github/codeql-action dependency-version: 4.35.3 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: action-dependencies - dependency-name: actions/dependency-review-action dependency-version: 4.9.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: action-dependencies ... Signed-off-by: dependabot[bot] <support@github.com>
42 lines
1.3 KiB
YAML
42 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@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
with:
|
|
persist-credentials: false
|
|
|
|
- name: "Run analysis"
|
|
uses: ossf/scorecard-action@4eaacf0543bb3f2c246792bd56e8cdeffafb205a # v2.4.3
|
|
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@v4.35.3 # zizmor: ignore[unpinned-uses]
|
|
with:
|
|
sarif_file: results.sarif
|