Skip to content

Commit de3db8c

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 4657bf2 commit de3db8c

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
@@ -8,7 +8,6 @@ concurrency:
88
group: ${{ github.workflow }}-${{ github.ref }}
99
cancel-in-progress: true
1010
permissions:
11-
actions: read
1211
contents: read
1312
jobs:
1413
scan:

0 commit comments

Comments
 (0)