mirror of
https://github.com/elicpeter/nyx.git
synced 2026-07-21 21:31:03 +02:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 6 to 7. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v6...v7) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
45 lines
1,010 B
YAML
45 lines
1,010 B
YAML
name: OSSF Scorecard
|
|
|
|
on:
|
|
branch_protection_rule:
|
|
schedule:
|
|
- cron: "0 7 * * 1"
|
|
push:
|
|
branches: ["master"]
|
|
workflow_dispatch:
|
|
|
|
permissions: read-all
|
|
|
|
jobs:
|
|
analysis:
|
|
name: scorecard
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
security-events: write
|
|
id-token: write
|
|
contents: read
|
|
|
|
steps:
|
|
- uses: actions/checkout@v7
|
|
with:
|
|
persist-credentials: false
|
|
|
|
- name: Run analysis
|
|
uses: ossf/scorecard-action@v2.4.3
|
|
with:
|
|
results_file: results.sarif
|
|
results_format: sarif
|
|
# Flip to true once we're happy with the score and want the badge.
|
|
publish_results: false
|
|
|
|
- name: Upload SARIF artifact
|
|
uses: actions/upload-artifact@v7
|
|
with:
|
|
name: scorecard-sarif
|
|
path: results.sarif
|
|
retention-days: 14
|
|
|
|
- name: Upload SARIF to Security tab
|
|
uses: github/codeql-action/upload-sarif@v4
|
|
with:
|
|
sarif_file: results.sarif
|