From 25f311e465ccf80e5a3e31dee7e748b882c87864 Mon Sep 17 00:00:00 2001 From: Gabor Kiss-Vamosi Date: Tue, 2 Aug 2022 08:09:28 +0200 Subject: [PATCH] ci(stale): exclude next major and next minor labels too --- .github/workflows/close_old_issues.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/close_old_issues.yml b/.github/workflows/close_old_issues.yml index 7c9d16e188..f17e309275 100644 --- a/.github/workflows/close_old_issues.yml +++ b/.github/workflows/close_old_issues.yml @@ -12,12 +12,17 @@ jobs: - uses: actions/stale@v5 with: repo-token: ${{ secrets.LVGL_BOT_TOKEN }} - stale-issue-message: 'This issue is stale because it has been open 14 days with no activity. Remove stale label or comment or this will be closed in 7 days.' - stale-pr-message: | + stale-issue-message: | We need some feedback on this issue. Now we mark this as "stale" because there was no activity here for 14 days. + Remove the "stale" label or comment else this will be closed in 7 days. + stale-pr-message: | + We need some feedback on this pull request. + + Now we mark this as "stale" because there was no activity here for 14 days. + Remove the "stale" label or comment else this will be closed in 7 days. close-issue-message: | As there was no activity here for a while we close this issue. But don't worry, the conversation is still here and you can get back to it at any time. @@ -25,5 +30,5 @@ jobs: So feel free to comment if you have remarks or ideas on this topic. days-before-stale: 14 days-before-close: 7 - exempt-issue-labels: 'pinned' - exempt-pr-labels: 'pinned' + exempt-issue-labels: 'pinned, next major, next minor' + exempt-pr-labels: 'pinned, next major, next minor'