Skip to content

Commit aca0fb4

Browse files
fix(ci): add required permissions for reusable workflows (Bug B)
Add security-events: write and id-token: write to workflow-level permissions in scorecard.yml for scorecard-reusable.yml calls. Remove unnecessary actions: read from secret-scanner.yml. Part of hyperpolymath/standards#426 remediation - Batch 2. Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
1 parent 49ebfe4 commit aca0fb4

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/scorecard.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@ on:
99
workflow_dispatch:
1010

1111
permissions:
12-
actions: read
1312
contents: read
13+
security-events: write
14+
id-token: write
1415

1516
jobs:
1617
scorecard:

.github/workflows/secret-scanner.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ concurrency:
1111
cancel-in-progress: true
1212

1313
permissions:
14-
actions: read
1514
contents: read
1615

1716
jobs:

0 commit comments

Comments
 (0)