From 195482b076cdad7a5848608046271e09c4a0351a Mon Sep 17 00:00:00 2001 From: Moritz Date: Fri, 10 Jul 2026 08:22:12 +0000 Subject: [PATCH] Add no-response workflow to close inactive issues --- .github/workflows/no_response.yml | 36 +++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .github/workflows/no_response.yml diff --git a/.github/workflows/no_response.yml b/.github/workflows/no_response.yml new file mode 100644 index 00000000..dd511b53 --- /dev/null +++ b/.github/workflows/no_response.yml @@ -0,0 +1,36 @@ +# A workflow to close issues where the author hasn't responded to a request for +# more information; see https://github.com/actions/stale. + +name: No Response + +on: + schedule: + # Every day at 8am + - cron: '0 8 * * *' + workflow_dispatch: + +permissions: + issues: write + pull-requests: write + +jobs: + no-response: + runs-on: ubuntu-latest + if: ${{ github.repository_owner == 'dart-lang' }} + steps: + - uses: actions/stale@b5d41d4e1d5dceea10e7104786b73624c18a190f + with: + # Don't automatically mark inactive issues+PRs as stale. + days-before-stale: -1 + # Close needs-info issues and PRs after 14 days of inactivity. + days-before-close: 14 + stale-issue-label: "needs-info" + close-issue-message: > + Without additional information we're not able to resolve this issue. + Feel free to add more info or respond to any questions above and we + can reopen the case. Thanks for your contribution! + stale-pr-label: "needs-info" + close-pr-message: > + Without additional information we're not able to resolve this PR. + Feel free to add more info or respond to any questions above. + Thanks for your contribution!