From 49577ff40aa12c64be6a8e446c0d0ef3eac4b8c1 Mon Sep 17 00:00:00 2001 From: jo Date: Mon, 9 Oct 2023 11:19:04 +0200 Subject: [PATCH] ci: use reusable stale bot workflow --- .github/workflows/stale.yml | 21 +++++---------------- 1 file changed, 5 insertions(+), 16 deletions(-) diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 466d9cb..d9410ae 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -4,21 +4,10 @@ on: schedule: - cron: "30 12 * * *" -permissions: - issues: write - pull-requests: write - jobs: stale: - runs-on: ubuntu-latest - steps: - - uses: actions/stale@v8 - with: - stale-issue-message: "This issue has been marked as stale because it has not had recent activity. The bot will close the issue if no further action occurs." - exempt-issue-labels: "pinned" - stale-issue-labels: "stale" - stale-pr-message: "This PR has been marked as stale because it has not had recent activity. The bot will close the PR if no further action occurs." - exempt-pr-labels: "pinned" - stale-pr-labels: "stale" - days-before-stale: 90 - days-before-close: 30 + permissions: + issues: write + pull-requests: write + + uses: hetznercloud/.github/.github/workflows/stale.yml@main