You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit cf5195c
Browse filesBrowse the repository at this point in the historyBrowse files
chore: harden workflow token permissions and update GitHub Actions
Set explicit GITHUB_TOKEN permissions in the test workflow (contents: read)
and the stale workflow (issues + pull-requests: write), resolving the
CodeQL actions/missing-workflow-permissions alerts. Update actions/checkout
and actions/setup-node to v5 and actions/stale to v10, which run on
Node.js 24 and clear the runner deprecation annotations.
Co-Authored-By: Claude Fable 5 <[email protected]>
Copy file name to clipboardExpand all lines: .github/workflows/stale.yml
+5-1Lines changed: 5 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -3,11 +3,15 @@ on:
3
3
schedule:
4
4
- cron: '30 1 * * *'
5
5
6
+
permissions:
7
+
issues: write
8
+
pull-requests: write
9
+
6
10
jobs:
7
11
stale:
8
12
runs-on: ubuntu-latest
9
13
steps:
10
-
- uses: actions/stale@v9
14
+
- uses: actions/stale@v10
11
15
with:
12
16
stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.'
13
17
stale-pr-message: 'This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days.'
0 commit comments