Stale PR tracking #7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Stale PR tracking | |
on: | |
schedule: | |
- cron: '0 17 * * 1-5' # 9am UTC-8 on weekdays | |
permissions: | |
pull-requests: write | |
jobs: | |
stale: | |
runs-on: ubuntu-latest | |
if: github.repository == 'trinodb/trino' | |
steps: | |
- uses: actions/[email protected] | |
with: | |
stale-pr-message: 'This pull request has gone a while without any activity. Tagging the Trino developer relations team: @bitsondatadev @colebow @mosabua' | |
days-before-pr-stale: 21 | |
days-before-pr-close: 21 | |
close-pr-message: 'Closing this pull request, as it has been stale for six weeks. Feel free to re-open at any time.' | |
stale-pr-label: 'stale' | |
start-date: '2023-01-01T00:00:00Z' | |
exempt-draft-pr: true | |
operations-per-run: 200 | |
# Avoid processing issues completely, see https://github.com/actions/stale/issues/1112 | |
days-before-issue-stale: -1 | |
days-before-issue-close: -1 |