Skip to content

Commit d3846d5

Browse files
tas50claude
andcommitted
Fix spell check workflow permissions
Add missing permissions for the Report job to download artifacts (actions:read) and upload SARIF results (security-events:write). Also add top-level permissions block and align spelling job permissions. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent fb35cc4 commit d3846d5

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

.github/workflows/spell-check.yaml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,18 @@ on:
55
pull_request:
66
types: [opened, reopened, synchronize]
77

8+
permissions:
9+
contents: read
10+
pull-requests: write
11+
812
jobs:
913
spelling:
1014
name: Run spell check
1115
permissions:
16+
actions: read
1217
contents: read
1318
pull-requests: read
14-
actions: read
19+
security-events: write
1520
outputs:
1621
followup: ${{ steps.spelling.outputs.followup }}
1722
runs-on: ubuntu-latest
@@ -43,8 +48,10 @@ jobs:
4348
runs-on: ubuntu-latest
4449
needs: spelling
4550
permissions:
46-
contents: write
51+
actions: read
52+
contents: read
4753
pull-requests: write
54+
security-events: write
4855
if: (success() || failure()) && needs.spelling.outputs.followup
4956
steps:
5057
- name: comment

0 commit comments

Comments
 (0)