Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions .github/workflows/issue-stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ on:
# This runs every day 20 minutes before midnight: https://crontab.guru/#40_23_*_*_*
- cron: "40 23 * * *"

permissions:
actions: write
issues: write
pull-requests: write

jobs:
stale:
runs-on: ubuntu-latest
Expand All @@ -15,7 +20,7 @@ jobs:
id: issue-stale
name: "Mark stale issues, close stale issues"
with:
repo-token: ${{ secrets.STALE_TOKEN }}
repo-token: ${{ secrets.GITHUB_TOKEN }}
ascending: true
days-before-issue-close: 7
days-before-issue-stale: 365
Expand All @@ -31,7 +36,7 @@ jobs:
id: pr-state
name: "Mark stale PRs, close stale PRs"
with:
repo-token: ${{ secrets.STALE_TOKEN }}
repo-token: ${{ secrets.GITHUB_TOKEN }}
ascending: true
days-before-issue-close: -1
days-before-issue-stale: -1
Expand Down
Loading