diff --git a/.github/workflows/stale-cleanup.yml b/.github/workflows/stale-cleanup.yml new file mode 100644 index 0000000..fd984c1 --- /dev/null +++ b/.github/workflows/stale-cleanup.yml @@ -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 }}