Skip to content

Commit f8a97e4

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

1 file changed

Lines changed: 10 additions & 6 deletions

File tree

.github/workflows/scorecard.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
<<<<<<< HEAD
2-
# SPDX-License-Identifier: PMPL-1.0-or-later
3-
=======
4-
# SPDX-License-Identifier: MPL-2.0-or-later
5-
>>>>>>> 1637fa5 (chore: sync from parent repo automation)
1+
# SPDX-License-Identifier: PMPL-1.0
62
name: OSSF Scorecard
73
on:
84
push:
@@ -11,6 +7,14 @@ on:
117
- cron: '0 4 * * *'
128
workflow_dispatch:
139

10+
# Estate guardrail: cancel superseded runs so re-pushes / rebased PR
11+
# updates do not pile up queued runs against the shared account-wide
12+
# Actions concurrency pool. Applied only to read-only check workflows
13+
# (no publish/mutation), so cancelling a superseded run is always safe.
14+
concurrency:
15+
group: ${{ github.workflow }}-${{ github.ref }}
16+
cancel-in-progress: true
17+
1418
permissions:
1519
contents: read
1620

@@ -32,6 +36,6 @@ jobs:
3236
results_format: sarif
3337

3438
- name: Upload results
35-
uses: github/codeql-action/upload-sarif@b1bff81932f5cdfc8695c7752dcee935dcd061c8 # v3.31.8
39+
uses: github/codeql-action/upload-sarif@c6f931105cb2c34c8f901cc885ba1e2e259cf745 # v3.31.8
3640
with:
3741
sarif_file: results.sarif

0 commit comments

Comments
 (0)