mirror of
https://github.com/theupdateframework/python-tuf
synced 2026-05-24 10:08:28 +00:00
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.2.4 to 2.2.5.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](17573ee1cc...32dc499307)
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
39 lines
1.1 KiB
YAML
39 lines
1.1 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@ac593985615ec2ede58e132d2e21d2b1cbd6127c
|
|
|
|
- name: "Run analysis"
|
|
uses: ossf/scorecard-action@e38b1902ae4f44df626f11ba0734b14fb91f8f86
|
|
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@32dc499307d133bb5085bae78498c0ac2cf762d5
|
|
with:
|
|
sarif_file: results.sarif
|