diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 94e54daa..cf37c959 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -1,19 +1,26 @@ -name: Stale +# This workflow warns and then closes issues and PRs that have had no activity for a specified amount of time. +# +# You can adjust the behavior by modifying this file. +# For more information, see: +# https://github.com/actions/stale +name: Mark stale issues and pull requests + on: schedule: - - cron: "0 12 * * *" - workflow_dispatch: - + - cron: '20 12 * * *' + jobs: stale: - if: github.repository_owner == 'fronzbot' + runs-on: ubuntu-latest permissions: issues: write pull-requests: write + steps: - - name: stale-issues - uses: actions/stale@v8.0.0 + - name: stale-issues + uses: actions/stale@v5 + with: repo-token: ${{ secrets.GITHUB_TOKEN }} days-before-stale: 60 days-before-close: 7 @@ -30,10 +37,11 @@ jobs: This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions. - - name: stale-prs - uses: actions/stale@v8.0.0 + - name: stale-pulls + uses: actions/stale@v5 + with: repo-token: ${{ secrets.GITHUB_TOKEN }} - days-before-stale: 90 + days-before-stale: 60 days-before-close: 7 days-before-issue-stale: -1 days-before-issue-close: -1