chore: CI: label stale PRs

This commit is contained in:
Sebastian Ullrich 2023-09-19 13:53:09 +02:00
parent 0c324a5445
commit 97c4fe3244

21
.github/workflows/stale.yml vendored Normal file
View file

@ -0,0 +1,21 @@
name: 'Label stale PRs'
on:
schedule:
- cron: '30 1 * * *'
permissions:
pull-requests: write
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v8
with:
days-before-stale: -1
days-before-pr-stale: 30
days-before-close: -1
stale-pr-lable: 'stale'
only-labels: 'awaiting-author'
debug-only: true
operations-per-run: 1000 # for dry-run