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