diff --git a/.github/probots.yml b/.github/probots.yml deleted file mode 100644 index d1904a26a..000000000 --- a/.github/probots.yml +++ /dev/null @@ -1,2 +0,0 @@ -enabled: -- probot-stale diff --git a/.github/stale.yml b/.github/stale.yml deleted file mode 100644 index 83b774ad0..000000000 --- a/.github/stale.yml +++ /dev/null @@ -1,34 +0,0 @@ -# Number of days of inactivity before an Issue or Pull Request becomes stale. -daysUntilStale: 90 - -# Number of days of inactivity before an Issue or Pull Request with the stale label is closed. -# Set to false to disable. If disabled, issues still need to be closed manually, but will remain marked as stale. -daysUntilClose: 30 - -# Issues or Pull Requests with these labels will never be considered stale. Set to `[]` to disable. -exemptLabels: ["stale/exempt", "pinned"] - -# Label to use when marking as stale. -staleLabel: stale - -# Comment to post when marking as stale. Set to `false` to disable. -issues: - markComment: > - Thank you for taking the time to raise this issue. However, it has - not had any activity on it in the past 90 days and will be closed in - 30 days if no updates occur. - - Please check if the main branch has already resolved the issue - since it was raised. If you believe the issue is still valid and you - would like input from the maintainers then please comment to ask for - it to be reviewed. - -pulls: - markComment: > - Thank you for your contribution! However, this pull request has not - had any activity in the past 90 days and will be closed in 30 days if - no updates occur. - - If you believe the changes are still valid then please verify your - branch has no conflicts with main and rebase if needed. If you - are awaiting a (re-)review then please let us know. diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml new file mode 100644 index 000000000..3b49724a0 --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,36 @@ +# configuration for https://github.com/actions/stale +name: "Stale issues and PRs" +on: + schedule: + - cron: "0 */2 * * *" + +jobs: + stale: + runs-on: ubuntu-latest + + steps: + - uses: actions/stale@v8 + with: + days-before-stale: 90 + days-before-close: 30 + stale-issue-message: >- + Thank you for taking the time to raise this issue. However, it has + not had any activity on it in the past 90 days and will be closed in + 30 days if no updates occur. + + Please check if the main branch has already resolved the issue + since it was raised. If you believe the issue is still valid and you + would like input from the maintainers then please comment to ask for + it to be reviewed. + stale-pr-message: >- + Thank you for your contribution! However, this pull request has not + had any activity in the past 90 days and will be closed in 30 days if + no updates occur. + + If you believe the changes are still valid then please verify your + branch has no conflicts with main and rebase if needed. If you + are awaiting a (re-)review then please let us know. + stale-issue-label: "stale" + exempt-issue-label: "stale/exempt,pinned" + stale-pr-label: "stale" + exempt-pr-label: "stale/exempt,pinned"