diff --git a/.github/workflows/git-hygiene.yml b/.github/workflows/git-hygiene.yml index f88f6f047..8dd2d1448 100644 --- a/.github/workflows/git-hygiene.yml +++ b/.github/workflows/git-hygiene.yml @@ -29,4 +29,5 @@ jobs: stale-pr-message: | Marking this pull request as stale due to inactivity. This helps our maintainers find and focus on the active pull requests. debug-only: true + ascending: true exempt-all-milestones: true diff --git a/.github/workflows/needs-response.yml b/.github/workflows/needs-response.yml new file mode 100644 index 000000000..fa1f8a1be --- /dev/null +++ b/.github/workflows/needs-response.yml @@ -0,0 +1,32 @@ +name: "Label issues with no response" + +on: + workflow_dispatch: + schedule: + - cron: "0 */3 * * *" + +jobs: + cleanup: + permissions: + issues: write + pull-requests: write + runs-on: ubuntu-latest + name: Stale issue job + steps: + - uses: actions/stale@v4 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + days-before-stale: 5 + days-before-close: -1 + exempt-issue-labels: 'needs-triage' + exempt-pr-labels: 'needs-triage' + stale-issue-label: 'needs-triage' + operations-per-run: 250 + enable-statistics: true + stale-issue-message: | + Marking this issue as stale due to inactivity. This helps our maintainers find and focus on the active issues. If this issue receives no comments in the next 7 days it will automatically be closed. + stale-pr-label: 'closing-soon' + stale-pr-message: | + Marking this pull request as stale due to inactivity. This helps our maintainers find and focus on the active pull requests. + debug-only: true + exempt-all-milestones: true