From b2be4b6faadbc2ab59f8df7da9caa97804b59863 Mon Sep 17 00:00:00 2001 From: virtualdj Date: Sat, 4 Jan 2025 11:31:26 +0100 Subject: [PATCH] Prevent bot to stale already acknowledged issues/FR At the moment the gitactions-bot tries to set the `stale` label even on issues/feature requests already marked as acknowledged or even on milestones (see #627 for example). This modification should tell the bot to avoid those types of issues. --- .github/workflows/close_inactive_issues.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/close_inactive_issues.yml b/.github/workflows/close_inactive_issues.yml index 9eb2ead..2cfe908 100644 --- a/.github/workflows/close_inactive_issues.yml +++ b/.github/workflows/close_inactive_issues.yml @@ -20,4 +20,6 @@ jobs: close-issue-message: "This issue was closed because it has been inactive for 14 days since being marked as stale." days-before-pr-stale: -1 days-before-pr-close: -1 - repo-token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + exempt-all-milestones: true + exempt-issue-labels: 'acknowledged' + repo-token: ${{ secrets.GITHUB_TOKEN }}