Actions: add workflow for marking and closing stale issues and PRs

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
This commit is contained in:
Tomáš Hozza 2023-09-07 10:43:12 +02:00 committed by Ondřej Budai
parent 554c9681a5
commit eb8b63f3ca

16
.github/workflows/stale-cleanup.yml vendored Normal file
View file

@ -0,0 +1,16 @@
name: Mark and close stale issues and PRs
on:
schedule:
- cron: '0 4 * * *'
jobs:
stale:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: osbuild/common-stale-action@main
with:
token: ${{ secrets.GITHUB_TOKEN }}