From f76c65e8bb5d5a3d78235f13d0929d83f76be512 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sun, 1 Aug 2021 01:04:02 -0400 Subject: [PATCH] dev: fix actions/stale workflows Correct datatype expectations and revise stale messages. --- .github/workflows/triage.yml | 30 ++++++++++++++---------------- 1 file changed, 14 insertions(+), 16 deletions(-) diff --git a/.github/workflows/triage.yml b/.github/workflows/triage.yml index 33c253823..477a529f0 100644 --- a/.github/workflows/triage.yml +++ b/.github/workflows/triage.yml @@ -8,22 +8,20 @@ jobs: steps: - uses: actions/stale@v3 with: - stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Remove the label or reply or this will be auto-closed in 7 days.' - exempt-issue-labels: - - "needs-triage" - - "backlog" - - "2. status:confirmed" - exempt-pr-labels: - - "needs-triage" - - "backlog" - - "2. status:confirmed" - - "2. status:archived" - - "2. status:resolved-temporarily" - - "2. status:waiting" - stale-issue-label: stale - stale-pr-label: stale - exempt-milestones: true - exempt-assignees: true + stale-issue-message: > + This issue has been automatically marked stale because of a lack of + recent activity. If this issue is still valid, reply to it or remove + the label, or it will be closed in 7 days. + stale-pr-message: >- + This PR has been automatically marked stale because of a lack of + recent activity. If this PR is still valid or a work in progress, + replace or remove the label, or it will be closed in 7 days. + exempt-issue-labels: ':heart:,needs-triage,backlog,help wanted,1. announcement,2. status:confirmed' + exempt-pr-labels: ':heart:,needs-triage,backlog,2. status:confirmed,2. status:archived,2. status:resolved-temporarily,2. status:waiting,2. status:needs-work' + stale-issue-label: stale + stale-pr-label: stale + exempt-milestones: true + exempt-assignees: true - uses: dessant/lock-threads@v2 with: github-token: ${{ github.token }}