OpenRCT2/.github/workflows/stale-prs.yml

20 lines
782 B
YAML
Raw Normal View History

2023-02-19 23:19:03 +01:00
name: 'Manage stale PRs'
on:
schedule:
- cron: '30 1 * * *'
jobs:
stale:
runs-on: ubuntu-latest
2023-03-30 17:55:31 +02:00
if: github.repository == 'OpenRCT2/OpenRCT2'
2023-02-19 23:19:03 +01:00
steps:
- uses: actions/stale@v7
with:
days-before-issue-stale: -1
days-before-issue-close: -1
2023-02-19 23:19:03 +01:00
days-before-pr-stale: 14
days-before-pr-close: 14
stale-pr-label: 'stale-pr'
stale-pr-message: 'This pull request is stale and will be closed in 14 days if no action is taken. To keep it open, leave a comment or remove the `stale-pr` label. If you''re awaiting feedback from a developer, please send us a reminder (either here or on [Discord](https://discord.gg/ZXZd8D8)).'
close-pr-message: 'This pull request was closed due to inactivity.'