From 5f8ed9e05dbbfc0e8d6406e228a2013d9a7b8fbd Mon Sep 17 00:00:00 2001 From: Marc Anguera Insa Date: Mon, 15 Apr 2024 20:43:40 +0200 Subject: [PATCH] Stale action: refine some settings --- .github/workflows/stale.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index e9938be..c95757c 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -7,8 +7,15 @@ on: jobs: stale: runs-on: ubuntu-latest + permissions: + issues: write + pull-requests: write steps: - uses: actions/stale@v9 with: days-before-stale: 90 days-before-close: 30 + exempt-issue-labels: pinned + exempt-pr-labels: pinned + stale-issue-message: This issue is stale because it has been open for more than 90 days with no activity. It will be closed in 30 days if no further activity occurs. Thank you for your contributions. + stale-pr-message: This issue is stale because it has been open for more than 90 days with no activity. It will be closed in 30 days if no further activity occurs. Thank you for your contributions.