From 4b426a0a74aa3fefeb8e5f02cd58c2edd0755a90 Mon Sep 17 00:00:00 2001 From: Tom Webber Date: Tue, 13 Aug 2024 16:28:02 +0100 Subject: [PATCH] style: exempt issues with `future` label from stale --- .github/workflows/issue-pr-staler.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/issue-pr-staler.yml b/.github/workflows/issue-pr-staler.yml index 24cd0177..e3ca24fd 100644 --- a/.github/workflows/issue-pr-staler.yml +++ b/.github/workflows/issue-pr-staler.yml @@ -1,10 +1,10 @@ -name: 'Close stale issues and PRs' +name: 'Stale and close issues and PRs' + on: schedule: - cron: '30 1 * * *' permissions: - contents: write # only for delete-branch option issues: write pull-requests: write @@ -17,6 +17,7 @@ jobs: stale-issue-message: 'This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.' stale-pr-message: 'This PR is stale because it has been open 60 days with no activity.' close-issue-message: 'This issue was closed because it has been stalled for 7 days with no activity.' + exempt-issue-labels: future exempt-pr-labels: dependencies days-before-stale: 60 days-before-close: 7