diff --git a/.github/stale.yml b/.github/stale.yml deleted file mode 100644 index 2ee655a6..00000000 --- a/.github/stale.yml +++ /dev/null @@ -1,16 +0,0 @@ -# Number of days of inactivity before an issue becomes stale -daysUntilStale: 30 -# Number of days of inactivity before a stale issue is closed -daysUntilClose: 7 -onlyLabels: - - question -# Label to use when marking an issue as stale -staleLabel: stale -# Comment to post when marking an issue as stale. Set to `false` to disable -markComment: > - This issue has been automatically marked as stale because it has not - had recent activity. It will be closed if no further activity - occurs. This only applies to 'question' issues. Always feel free to - reopen or create new issues. Thank you! -# Comment to post when closing a stale issue. Set to `false` to disable -closeComment: false diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml new file mode 100644 index 00000000..acd334f9 --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,21 @@ +name: 'Handle stale issues' +on: + schedule: + - cron: '30 1 * * *' + +jobs: + stale: + runs-on: ubuntu-latest + steps: + # https://github.com/actions/stale + - uses: actions/stale@v9 + with: + days-before-stale: 30 + days-before-close: 7 + only-labels: question + stale-issue-label: stale + 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. This only applies to 'question' issues. Always feel free to + reopen or create new issues. Thank you!