diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index bdf6a25d12..0dd04b7114 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -2,6 +2,7 @@ name: 'Close stale PRs' on: schedule: - cron: '30 1 * * *' + workflow_dispatch: # Allow manual triggering jobs: stale: @@ -24,3 +25,13 @@ jobs: any-of-labels: ':construction: WIP' days-before-close: -1 days-before-issue-stale: -1 + + stale-needs-info: + runs-on: ubuntu-latest + steps: + - uses: actions/stale@v9 + with: + stale-issue-label: 'needs info' + days-before-stale: -1 + days-before-close: 7 + close-issue-message: 'This issue has been automatically closed because there have been no comments for 7 days after the "needs info" label was added. If you still need help, please feel free to reopen the issue with the requested information.' diff --git a/upcoming-release-notes/5109.md b/upcoming-release-notes/5109.md new file mode 100644 index 0000000000..9f3ea1a2a5 --- /dev/null +++ b/upcoming-release-notes/5109.md @@ -0,0 +1,6 @@ +--- +category: Maintenance +authors: [MatissJanis] +--- + +Auto-close issues with "needs info" labels after 7 days