GHA: add the common-stale-action
Add the common-stale-action for marking issues and PRs as stale. This is consistent with all osbuild group projects. Signed-off-by: Tomáš Hozza <thozza@redhat.com>
This commit is contained in:
parent
cef337ab7a
commit
0013049d26
1 changed files with 17 additions and 0 deletions
17
.github/workflows/stale-cleanup.yml
vendored
Normal file
17
.github/workflows/stale-cleanup.yml
vendored
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
name: Mark and close stale issues and PRs
|
||||
|
||||
on: # yamllint disable-line rule:truthy
|
||||
schedule:
|
||||
- cron: '0 4 * * *'
|
||||
|
||||
jobs:
|
||||
stale:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
actions: write # needed to clean up the saved action state
|
||||
issues: write
|
||||
pull-requests: write
|
||||
steps:
|
||||
- uses: osbuild/common-stale-action@main
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue