diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index a68a75b63..503ed75a3 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -1,15 +1,21 @@ name: 'Close stale issues and PRs' on: + workflow_dispatch: schedule: - cron: '30 1 * * *' +permissions: + issues: write + pull-requests: write + jobs: stale: runs-on: ubuntu-latest steps: - - uses: actions/stale@v4 + - uses: actions/stale@v10 with: stale-issue-message: 'This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your interest in ABySS!' days-before-stale: 21 days-before-close: 7 exempt-issue-labels: 'gsoc-outreachy,help wanted,in progress' + close-issue-reason: completed