2021-09-07 11:16:06 +02:00
name : 'Handle stale PRs'
2021-07-16 17:19:44 +02:00
on :
schedule :
2021-07-16 23:42:49 +02:00
- cron : '30 7 * * 1-5'
2021-07-16 17:19:44 +02:00
jobs :
stale :
runs-on : ubuntu-latest
steps :
- uses : actions/stale@v4
with :
2021-09-07 11:16:06 +02:00
days-before-issue-stale : 9999
2021-07-17 02:06:37 +02:00
stale-pr-message : "This PR hasn't seen activity in a week! Should it be merged, closed, or further worked on? If you want to keep it open, post a comment or remove the `stale` label – otherwise this will be closed in another week."
2021-07-16 17:19:44 +02:00
close-pr-message : 'This PR was closed due to 2 weeks of inactivity. Feel free to reopen it if still relevant.'
days-before-pr-stale : 7
2021-08-03 16:38:09 +02:00
days-before-pr-close : 7
2021-07-16 17:19:44 +02:00
stale-issue-label : stale
stale-pr-label : stale
2021-08-03 16:38:09 +02:00
operations-per-run : 30
2021-07-16 17:19:44 +02:00
repo-token : ${{ secrets.POSTHOG_BOT_GITHUB_TOKEN }}