Skip to content

Commit

Permalink
Add scorecards workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
JamieMagee committed Oct 23, 2024
1 parent 1c7218c commit dc9d637
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/scorecards.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Scorecards analysis
on:
push:
branches:
- main
schedule:
- cron: '30 1 * * 6' # https://crontab.guru/#30_1_*_*_6

permissions: read-all

jobs:
analysis:
name: Scorecards analysis
runs-on: ubuntu-latest
permissions:
security-events: write
id-token: write

steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
with:
persist-credentials: false

- uses: ossf/scorecard-action@62b2cac7ed8198b15735ed49ab1e5cf35480ba46 # v2.4.0
with:
results_file: results.sarif
results_format: sarif
publish_results: true

- uses: github/codeql-action/upload-sarif@461ef6c76dfe95d5c364de2f431ddbd31a417628 # v3.26.9
with:
sarif_file: results.sarif

0 comments on commit dc9d637

Please sign in to comment.