From eb8b63f3ca166ecad13e10a21b8499344a824f86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Hozza?= Date: Thu, 7 Sep 2023 10:43:12 +0200 Subject: [PATCH] Actions: add workflow for marking and closing stale issues and PRs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Tomáš Hozza --- .github/workflows/stale-cleanup.yml | 16 ++++++++++++++++ 1 file changed, 16 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 000000000..56bbc780a --- /dev/null +++ b/.github/workflows/stale-cleanup.yml @@ -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 }}