Skip to content

Commit 785748c

Browse files
committed
Add OpenSSF Scorecard workflow (weekly + push to main)
1 parent 6e0ad6b commit 785748c

2 files changed

Lines changed: 32 additions & 1 deletion

File tree

.github/workflows/scorecard.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: OpenSSF Scorecard
2+
3+
on:
4+
push:
5+
branches: [main]
6+
schedule:
7+
- cron: '0 6 * * 1' # Every Monday at 06:00 UTC
8+
9+
permissions: read-all
10+
11+
jobs:
12+
scorecard:
13+
runs-on: ubuntu-latest
14+
permissions:
15+
security-events: write
16+
id-token: write
17+
steps:
18+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
19+
with:
20+
persist-credentials: false
21+
22+
- name: Run OpenSSF Scorecard
23+
uses: ossf/scorecard-action@4eaacf0543bb3f2c246792bd56e8cdeffafb205a # v2.4.3
24+
with:
25+
results_file: results.sarif
26+
results_format: sarif
27+
publish_results: true
28+
29+
- name: Upload SARIF results
30+
uses: github/codeql-action/upload-sarif@38697555549f1db7851b81482ff19f1fa5c4fedc # v4
31+
with:
32+
sarif_file: results.sarif

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,3 @@ graph-ui/dist/
5050
BENCHMARK_REPORT.md
5151
TEST_PLAN.md
5252
CHANGELOG.md
53-
.github/workflows/scorecard.yml

0 commit comments

Comments
 (0)