From 8e2e2317ce85e73d289d305052419924b733c721 Mon Sep 17 00:00:00 2001 From: Ismo Vuorinen Date: Wed, 5 Feb 2025 02:49:46 +0200 Subject: [PATCH] fix(ci): stale workflow --- .github/workflows/stale.yml | 38 +++++-------------------------------- 1 file changed, 5 insertions(+), 33 deletions(-) diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 7dfe547..2055b92 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -8,40 +8,12 @@ on: workflow_call: workflow_dispatch: - -permissions: - contents: write # only for delete-branch option - issues: write - pull-requests: write - jobs: stale: - name: ๐Ÿงน Clean up stale issues and PRs runs-on: ubuntu-latest + permissions: + contents: write # only for delete-branch option + issues: write + pull-requests: write steps: - - name: ๐Ÿš€ Run stale - uses: actions/stale@v9.1.0 - with: - repo-token: ${{ secrets.GITHUB_TOKEN }} - days-before-stale: 30 - days-before-close: 7 - remove-stale-when-updated: true - stale-issue-label: "stale" - exempt-issue-labels: "no-stale,help-wanted" - stale-issue-message: > - There hasn't been any activity on this issue recently, so we - clean up some of the older and inactive issues. - - Please make sure to update to the latest version and - check if that solves the issue. Let us know if that works for you - by leaving a comment ๐Ÿ‘ - - This issue has now been marked as stale and will be closed if no - further activity occurs. Thanks! - stale-pr-label: "stale" - exempt-pr-labels: "no-stale" - stale-pr-message: > - There hasn't been any activity on this pull request recently. This - pull request has been automatically marked as stale because of that - and will be closed if no further activity occurs within 7 days. - Thank you for your contributions. + - uses: ivuorinen/actions/stale@main