Skip to content

Commit e29578e

Browse files
author
Kinflou
committed
TEMP: pull_request trigger and JSON baseline to verify the job runs
1 parent f63a5d5 commit e29578e

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

‎.github/workflows/scorecard.yml‎

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ on:
1313
push:
1414
branches: [main]
1515
workflow_dispatch:
16+
pull_request:
1617

1718
permissions: read-all
1819

@@ -47,11 +48,20 @@ jobs:
4748
results_format: sarif
4849
publish_results: true
4950

51+
- name: Baseline JSON
52+
uses: ossf/scorecard-action@fa7117db83c52d787ae5a89f350999701505d78e # v2.5.0
53+
with:
54+
results_file: results.json
55+
results_format: json
56+
publish_results: false
57+
5058
- name: Upload artifact
5159
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
5260
with:
5361
name: SARIF file
54-
path: results.sarif
62+
path: |
63+
results.sarif
64+
results.json
5565
retention-days: 5
5666

5767
- name: Upload to code scanning

0 commit comments

Comments
 (0)