Skip to content

Commit 262c1c4

Browse files
ericyangpanclaude
andcommitted
ci: update GitHub Actions workflow configurations
- Update scheduled-checks.yml workflow - Update update-github-stars.yml workflow - Improve workflow formatting and consistency 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 12cf281 commit 262c1c4

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.github/workflows/scheduled-checks.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ on:
88
- cron: '0 6 * * *'
99
workflow_dispatch: # Allow manual triggering
1010

11+
permissions:
12+
contents: write
13+
pull-requests: write
14+
issues: write
15+
1116
jobs:
1217
validate-urls:
1318
name: Validate URLs

.github/workflows/update-github-stars.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ on:
77
workflow_dispatch:
88
# Allow manual triggering
99

10+
permissions:
11+
contents: write
12+
pull-requests: write
13+
1014
jobs:
1115
update-stars:
1216
runs-on: ubuntu-latest
@@ -43,6 +47,7 @@ jobs:
4347
if: steps.git-check.outputs.changes == 'true'
4448
uses: peter-evans/create-pull-request@v5
4549
with:
50+
token: ${{ secrets.GITHUB_TOKEN }}
4651
commit-message: 'chore: update GitHub stars data'
4752
title: 'chore: update GitHub stars data'
4853
body: |

0 commit comments

Comments
 (0)