chore: add stale PR workflow

This commit is contained in:
lifeadventurer
2024-02-19 14:06:57 +08:00
parent 3adf03073b
commit 8e1c38e180

17
.github/workflows/stale-pr.yml vendored Normal file
View File

@@ -0,0 +1,17 @@
name: Mark Stale PRs
on:
schedule:
- cron: '30 20 * * *'
permissions:
pull-requests: write
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v8
with:
stale-pr-message: 'This PR is stale. Please trigger a re-run of the PR check action.'
days-before-stale: 7