Skip to content

Commit 55136e8

Browse files
fix(workflows): add contents:read permission for checkout
Jobs with checkout steps need contents:read permission to access the repository. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent c39421c commit 55136e8

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/bot-sync-status.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ jobs:
1414
sync-status:
1515
runs-on: ubuntu-latest
1616
permissions:
17+
contents: read
1718
issues: write
1819
pull-requests: read
1920

.github/workflows/gen-new-plot.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ jobs:
111111
pygal_issue: ${{ steps.create.outputs.pygal_issue }}
112112
highcharts_issue: ${{ steps.create.outputs.highcharts_issue }}
113113
permissions:
114+
contents: read
114115
issues: write
115116

116117
steps:
@@ -318,6 +319,7 @@ jobs:
318319
if: always() && needs.check-conditions.outputs.should_run == 'true'
319320
runs-on: ubuntu-latest
320321
permissions:
322+
contents: read
321323
issues: write
322324

323325
steps:

0 commit comments

Comments
 (0)