nchammas commented on a change in pull request #26877: [SPARK-30173] Automatically close stale PRs URL: https://github.com/apache/spark/pull/26877#discussion_r357724797
########## File path: .github/workflows/stale.yml ########## @@ -0,0 +1,23 @@ +name: Close stale PRs + +on: + schedule: + - cron: "0 0 * * *" + +jobs: + stale: + runs-on: ubuntu-latest + steps: + - uses: actions/[email protected] + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + stale-pr-message: | + We're closing this PR because it hasn't been updated in a while. + This isn't a judgement on the merit of the PR in any way. It's just + a way of keeping the PR queue manageable. + + If you'd like to revive this PR, please reopen it! + days-before-stale: 100 + # Setting this to 0 is the same as setting it to 1. + # See: https://github.com/actions/stale/issues/28 + days-before-close: 0 Review comment: @srowen - I've set `days-before-close` to 0, which in theory means the PR will be closed immediately after it crosses the stale threshold. However, due to the linked issue, this will in practice close the PR 1 day after tagging it as stale and posting the message. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
