Skip to content

Commit bedf0c0

Browse files
Adding scorecard analysis workflow .github/workflows/scorecard-analysis.yml (#584)
Co-authored-by: eclipse-otterdog[bot] <158182605+eclipse-otterdog[bot]@users.noreply.github.com>
1 parent 120db73 commit bedf0c0

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Scorecard analysis workflow
2+
on:
3+
push:
4+
branches:
5+
- main
6+
schedule:
7+
# Weekly on Saturdays.
8+
- cron: '30 1 * * 6'
9+
10+
permissions: read-all
11+
12+
jobs:
13+
analysis:
14+
if: github.repository_owner == 'eclipse-cbi'
15+
name: Scorecard analysis
16+
runs-on: ubuntu-latest
17+
permissions:
18+
security-events: write
19+
id-token: write
20+
21+
steps:
22+
- name: "Checkout code"
23+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
24+
with:
25+
persist-credentials: false
26+
27+
- name: "Run analysis"
28+
uses: ossf/scorecard-action@62b2cac7ed8198b15735ed49ab1e5cf35480ba46 # v2.4.0
29+
with:
30+
results_file: results.sarif
31+
results_format: sarif
32+
publish_results: true

0 commit comments

Comments
 (0)