Skip to content

Commit 6fa9a02

Browse files
Fix scorecard.yml wrappers to comply with estate policy (Issue #520)
Issue #520: scorecard.yml template violates the estate's own Scorecard/SARIF policy which requires OSSF Scorecard to run on every PR head commit when uploading to Code Scanning. Fix: Add pull_request trigger, concurrency, actions: read permission, and secrets: inherit to all scorecard.yml wrapper files across the estate. Updated 20 files in: - 0-ai-gatekeeper-protocol/ (3 files) - a2ml/ (6 files) - consent-aware-http/ - k9-svc/ (6 files) - lol/ - rhodium-standard-repositories/ (4 files) Part of estate-wide CI/CD deduplication. Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
1 parent 8ac79cc commit 6fa9a02

20 files changed

Lines changed: 160 additions & 0 deletions

File tree

0-ai-gatekeeper-protocol/.github/workflows/scorecard.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,21 @@ name: OSSF Scorecard
44
on:
55
push:
66
branches: [main, master]
7+
pull_request:
8+
branches: [main, master]
79
schedule:
810
- cron: '0 4 * * *'
911
workflow_dispatch:
1012

13+
concurrency:
14+
group: ${{ github.workflow }}-${{ github.ref }}
15+
cancel-in-progress: true
16+
1117
permissions:
18+
actions: read
1219
contents: read
1320

1421
jobs:
1522
scorecard:
1623
uses: ../../.github/workflows/scorecard-reusable.yml
24+
secrets: inherit

0-ai-gatekeeper-protocol/mcp-repo-guardian/.github/workflows/scorecard.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,21 @@ name: OSSF Scorecard
44
on:
55
push:
66
branches: [main, master]
7+
pull_request:
8+
branches: [main, master]
79
schedule:
810
- cron: '0 4 * * *'
911
workflow_dispatch:
1012

13+
concurrency:
14+
group: ${{ github.workflow }}-${{ github.ref }}
15+
cancel-in-progress: true
16+
1117
permissions:
18+
actions: read
1219
contents: read
1320

1421
jobs:
1522
scorecard:
1623
uses: ../../../.github/workflows/scorecard-reusable.yml
24+
secrets: inherit

0-ai-gatekeeper-protocol/repo-guardian-fs/.github/workflows/scorecard.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,21 @@ name: OSSF Scorecard
44
on:
55
push:
66
branches: [main, master]
7+
pull_request:
8+
branches: [main, master]
79
schedule:
810
- cron: '0 4 * * *'
911
workflow_dispatch:
1012

13+
concurrency:
14+
group: ${{ github.workflow }}-${{ github.ref }}
15+
cancel-in-progress: true
16+
1117
permissions:
18+
actions: read
1219
contents: read
1320

1421
jobs:
1522
scorecard:
1623
uses: ../../../.github/workflows/scorecard-reusable.yml
24+
secrets: inherit

a2ml/.github/workflows/scorecard.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,21 @@ name: OSSF Scorecard
44
on:
55
push:
66
branches: [main, master]
7+
pull_request:
8+
branches: [main, master]
79
schedule:
810
- cron: '0 4 * * *'
911
workflow_dispatch:
1012

13+
concurrency:
14+
group: ${{ github.workflow }}-${{ github.ref }}
15+
cancel-in-progress: true
16+
1117
permissions:
18+
actions: read
1219
contents: read
1320

1421
jobs:
1522
scorecard:
1623
uses: ../../.github/workflows/scorecard-reusable.yml
24+
secrets: inherit

a2ml/actions/validate/.github/workflows/scorecard.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,21 @@ name: OSSF Scorecard
44
on:
55
push:
66
branches: [main, master]
7+
pull_request:
8+
branches: [main, master]
79
schedule:
810
- cron: '0 4 * * *'
911
workflow_dispatch:
1012

13+
concurrency:
14+
group: ${{ github.workflow }}-${{ github.ref }}
15+
cancel-in-progress: true
16+
1117
permissions:
18+
actions: read
1219
contents: read
1320

1421
jobs:
1522
scorecard:
1623
uses: ../../../.github/workflows/scorecard-reusable.yml
24+
secrets: inherit

a2ml/bindings/deno/.github/workflows/scorecard.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,21 @@ name: OSSF Scorecard
44
on:
55
push:
66
branches: [main, master]
7+
pull_request:
8+
branches: [main, master]
79
schedule:
810
- cron: '0 4 * * *'
911
workflow_dispatch:
1012

13+
concurrency:
14+
group: ${{ github.workflow }}-${{ github.ref }}
15+
cancel-in-progress: true
16+
1117
permissions:
18+
actions: read
1219
contents: read
1320

1421
jobs:
1522
scorecard:
1623
uses: ../../../.github/workflows/scorecard-reusable.yml
24+
secrets: inherit

a2ml/bindings/haskell/.github/workflows/scorecard.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,21 @@ name: OSSF Scorecard
44
on:
55
push:
66
branches: [main, master]
7+
pull_request:
8+
branches: [main, master]
79
schedule:
810
- cron: '0 4 * * *'
911
workflow_dispatch:
1012

13+
concurrency:
14+
group: ${{ github.workflow }}-${{ github.ref }}
15+
cancel-in-progress: true
16+
1117
permissions:
18+
actions: read
1219
contents: read
1320

1421
jobs:
1522
scorecard:
1623
uses: ../../../.github/workflows/scorecard-reusable.yml
24+
secrets: inherit

a2ml/bindings/rust/.github/workflows/scorecard.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,21 @@ name: OSSF Scorecard
44
on:
55
push:
66
branches: [main, master]
7+
pull_request:
8+
branches: [main, master]
79
schedule:
810
- cron: '0 4 * * *'
911
workflow_dispatch:
1012

13+
concurrency:
14+
group: ${{ github.workflow }}-${{ github.ref }}
15+
cancel-in-progress: true
16+
1117
permissions:
18+
actions: read
1219
contents: read
1320

1421
jobs:
1522
scorecard:
1623
uses: ../../../.github/workflows/scorecard-reusable.yml
24+
secrets: inherit

a2ml/editors/vscode/.github/workflows/scorecard.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,21 @@ name: OSSF Scorecard
44
on:
55
push:
66
branches: [main, master]
7+
pull_request:
8+
branches: [main, master]
79
schedule:
810
- cron: '0 4 * * *'
911
workflow_dispatch:
1012

13+
concurrency:
14+
group: ${{ github.workflow }}-${{ github.ref }}
15+
cancel-in-progress: true
16+
1117
permissions:
18+
actions: read
1219
contents: read
1320

1421
jobs:
1522
scorecard:
1623
uses: ../../../.github/workflows/scorecard-reusable.yml
24+
secrets: inherit

a2ml/pandoc/.github/workflows/scorecard.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,21 @@ name: OSSF Scorecard
44
on:
55
push:
66
branches: [main, master]
7+
pull_request:
8+
branches: [main, master]
79
schedule:
810
- cron: '0 4 * * *'
911
workflow_dispatch:
1012

13+
concurrency:
14+
group: ${{ github.workflow }}-${{ github.ref }}
15+
cancel-in-progress: true
16+
1117
permissions:
18+
actions: read
1219
contents: read
1320

1421
jobs:
1522
scorecard:
1623
uses: ../../../.github/workflows/scorecard-reusable.yml
24+
secrets: inherit

0 commit comments

Comments
 (0)