Skip to content

Commit ef50cb8

Browse files
committed
ci: redistribute canonical scorecard.yml (concurrency-cancel guard) (Refs hyperpolymath/standards#122)
1 parent 3ccf515 commit ef50cb8

1 file changed

Lines changed: 9 additions & 7 deletions

File tree

.github/workflows/scorecard.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
# SPDX-License-Identifier: PMPL-1.0-or-later
1+
# SPDX-License-Identifier: PMPL-1.0
22
name: OSSF Scorecard
33
on:
44
push:
55
branches: [main, master]
66
schedule:
7-
- cron: '0 4 * * 0'
7+
- cron: '0 4 * * *'
8+
workflow_dispatch:
89

910
# Estate guardrail: cancel superseded runs so re-pushes / rebased PR
1011
# updates do not pile up queued runs against the shared account-wide
@@ -14,7 +15,8 @@ concurrency:
1415
group: ${{ github.workflow }}-${{ github.ref }}
1516
cancel-in-progress: true
1617

17-
permissions: read-all
18+
permissions:
19+
contents: read
1820

1921
jobs:
2022
analysis:
@@ -26,14 +28,14 @@ jobs:
2628
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2729
with:
2830
persist-credentials: false
29-
31+
3032
- name: Run Scorecard
31-
uses: ossf/scorecard-action@4eaacf0543bb3f2c246792bd56e8cdeffafb205a # v2.4.3
33+
uses: ossf/scorecard-action@4eaacf0543bb3f2c246792bd56e8cdeffafb205a # v2.3.1
3234
with:
3335
results_file: results.sarif
3436
results_format: sarif
35-
37+
3638
- name: Upload results
37-
uses: github/codeql-action/upload-sarif@868e2ea5641bfa2e2af1f144664178b4c5575fab # v3
39+
uses: github/codeql-action/upload-sarif@c6f931105cb2c34c8f901cc885ba1e2e259cf745 # v3.31.8
3840
with:
3941
sarif_file: results.sarif

0 commit comments

Comments
 (0)