Skip to content

Commit

Permalink
Merge 3a5e060 into 872b306
Browse files Browse the repository at this point in the history
  • Loading branch information
FrancoisCarouge committed Sep 11, 2023
2 parents 872b306 + 3a5e060 commit b587128
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/openssf_scorecard.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: "Scorecard supply-chain security"
on:
branch_protection_rule:
schedule:
- cron: '26 14 * * 5'
push:
branches: [ "master" ]

permissions: read-all

jobs:
analysis:
name: "Scorecard Analysis"
runs-on: ubuntu-latest
permissions:
security-events: write
id-token: write
steps:
- name: "Checkout Code"
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
with:
persist-credentials: false
- name: "Run Analysis"
uses: ossf/scorecard-action@08b4669551908b1024bb425080c797723083c031 # v2.2.0
with:
results_file: results.sarif
results_format: sarif
publish_results: true
- name: "Upload Artifact"
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
with:
name: SARIF file
path: results.sarif
retention-days: 5
- name: "Upload Resuts"
uses: github/codeql-action/upload-sarif@00e563ead9f72a8461b24876bee2d0c2e8bd2ee8 # v2.21.5
with:
sarif_file: results.sarif

0 comments on commit b587128

Please sign in to comment.