diff --git a/.github/workflows/stale.yaml b/.github/workflows/stale.yaml index ca4807e..87e860a 100644 --- a/.github/workflows/stale.yaml +++ b/.github/workflows/stale.yaml @@ -1,5 +1,8 @@ name: Close stale PRs +permissions: + pull-requests: write + on: schedule: - cron: "00 0 * * *" # runs at 00:00 daily @@ -11,7 +14,6 @@ jobs: - uses: actions/stale@v9.0.0 name: Clean up stale PRs with: - repo-token: ${{ secrets.STALE_BOT }} stale-pr-message: "👋 This pull request has been marked as stale because it has been open with no activity. You can: comment on the issue or remove the stale label to hold stale off for a while, add the `Keep` label to hold stale off permanently, or do nothing. If you do nothing, this pull request will be closed eventually by the stale bot. Please see CONTRIBUTING.md for more policy details." stale-pr-label: "Stale" exempt-pr-labels: "Keep" # a "Keep" label will keep the PR from being closed as stale