Skip to content

Commit

Permalink
Adding scorecard analysis workflow .github/workflows/scorecard-analys…
Browse files Browse the repository at this point in the history
…is.yml
  • Loading branch information
eclipse-otterdog[bot] authored Nov 27, 2024
1 parent 960bdae commit 493f096
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/scorecard-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Scorecard analysis workflow
on:
push:
branches:
- main
schedule:
# Weekly on Saturdays.
- cron: '30 1 * * 6'

permissions: read-all

jobs:
analysis:
if: github.repository_owner == 'eclipse-cbi'
name: Scorecard analysis
runs-on: ubuntu-latest
permissions:
security-events: write
id-token: write

steps:
- name: "Checkout code"
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false

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

0 comments on commit 493f096

Please sign in to comment.