From 0013049d2680565f6257913738bbab57cd41fe00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Hozza?= Date: Wed, 18 Jun 2025 10:58:18 +0200 Subject: [PATCH] GHA: add the common-stale-action MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- .github/workflows/stale-cleanup.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/stale-cleanup.yml 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 }}