diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml new file mode 100644 index 0000000000..5cfe1ed6eb --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,23 @@ +name: "Stale issue handler" +on: + workflow_dispatch: + schedule: + - cron: "0 0 * * *" + +jobs: + stale: + runs-on: ubuntu-latest + steps: + - uses: actions/stale@main + id: stale + with: + stale-issue-label: "stale" + stale-issue-message: 'This issue has been automatically marked as stale because it has been open for 14 days without activity. It will be closed if no further activity occurs within the next 14 days. If this is still an issue, just leave a comment or remove the "stale" label.' + days-before-stale: 14 + days-before-close: 14 + operations-per-run: 1000 + days-before-pr-stale: -1 + days-before-pr-close: -1 + exempt-issue-labels: 'type: bug, type: docs, type: feature, type: improvement, type: question' # All 'type: ' labels + - name: Print outputs + run: echo ${{ join(steps.stale.outputs.*, ',') }}