diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index d079d7a..b569fde 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -3,11 +3,13 @@ on: workflow_dispatch: schedule: - cron: "0 0 * * *" +permissions: + actions: write jobs: stale: runs-on: ubuntu-latest steps: - - uses: actions/stale@v3 + - uses: actions/stale@v9 with: repo-token: ${{ secrets.GITHUB_TOKEN }} stale-issue-message: 'This issue has been automatically marked as stale because it has not had activity in 14 days. It will be closed if no further activity occurs in 7 days' @@ -19,3 +21,7 @@ jobs: days-before-issue-close: 7 days-before-pr-close: -1 exempt-issue-labels: 'bug,enhancement' + - uses: actions/checkout@v4 + - uses: gautamkrishnar/keepalive-workflow@v2 + with: + use_api: true