From 08a318c0b8d249e7c87b25224caa1d27b1ea1f15 Mon Sep 17 00:00:00 2001 From: Alicia Sykes Date: Tue, 26 Oct 2021 00:08:10 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20Only=20run=20if=20issue=20open?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/manage-pending-labels.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/manage-pending-labels.yml b/.github/workflows/manage-pending-labels.yml index 465dc9ef..68f7f92e 100644 --- a/.github/workflows/manage-pending-labels.yml +++ b/.github/workflows/manage-pending-labels.yml @@ -19,7 +19,13 @@ jobs: add-awaiting-author: runs-on: ubuntu-latest - if: ${{ !github.event.issue.pull_request && github.event.comment.author_association != 'COLLABORATOR' && github.event.comment.author_association != 'OWNER' }} + if: > + ${{ + !github.event.issue.pull_request + && github.event.comment.author_association != 'COLLABORATOR' + && github.event.comment.author_association != 'OWNER' + && github.event.issue.state == 'open' + }} steps: - name: Add Awaiting Author labels when Updated uses: actions-cool/issues-helper@v2