diff --git a/.github/workflows/no-response.yml b/.github/workflows/no-response.yml deleted file mode 100644 index 74744cb3..00000000 --- a/.github/workflows/no-response.yml +++ /dev/null @@ -1,37 +0,0 @@ -# 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 - -# All permissions not specified are set to 'none'. -permissions: - issues: write - pull-requests: write - -# Run as a daily cron. -on: - schedule: - # Every day at 8am - - cron: '0 8 * * *' - -jobs: - no-response: - runs-on: ubuntu-latest - if: ${{ github.repository_owner == 'dart-lang' }} - steps: - - uses: actions/stale@eb5cf3af3ac0a1aa4c9c45633dd1ae542a27a899 - 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! diff --git a/.github/workflows/no_response.yml b/.github/workflows/no_response.yml index dd511b53..74744cb3 100644 --- a/.github/workflows/no_response.yml +++ b/.github/workflows/no_response.yml @@ -3,22 +3,23 @@ name: No Response +# All permissions not specified are set to 'none'. +permissions: + issues: write + pull-requests: write + +# Run as a daily cron. 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 + - uses: actions/stale@eb5cf3af3ac0a1aa4c9c45633dd1ae542a27a899 with: # Don't automatically mark inactive issues+PRs as stale. days-before-stale: -1