From 0fb813d893e6f0ae253971d4b12057298feefee9 Mon Sep 17 00:00:00 2001 From: Alicia Sykes Date: Sat, 2 Oct 2021 21:18:00 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9A=97=EF=B8=8F=20Try=20using=20event=20attr?= =?UTF-8?q?ibutes=20instead?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/remove-stale-label.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/remove-stale-label.yml b/.github/workflows/remove-stale-label.yml index 58d8e14d..3c45f1ea 100644 --- a/.github/workflows/remove-stale-label.yml +++ b/.github/workflows/remove-stale-label.yml @@ -7,7 +7,7 @@ on: jobs: remove-stale: runs-on: ubuntu-latest - if: ${{ github.event.inputs.name != 'liss-bot' && github.event.inputs.name != 'Lissy93' }} + if: ${{ github.event.comment.author_association != 'COLLABORATOR' }} steps: - name: Remove Stale labels when Updated uses: actions-cool/issues-helper@v2 @@ -19,7 +19,7 @@ jobs: add-awaiting-author: runs-on: ubuntu-latest - if: ${{ github.event.inputs.name != 'liss-bot' && github.event.inputs.name != 'Lissy93' }} + if: ${{ github.event.comment.author_association != 'COLLABORATOR' }} steps: - name: Add Awaiting Author labels when Updated uses: actions-cool/issues-helper@v2 @@ -31,7 +31,7 @@ jobs: remove-awaiting-author: runs-on: ubuntu-latest - if: ${{ github.event.inputs.name == 'Lissy93' }} + if: ${{ github.event.comment.author_association == 'OWNER' }} steps: - name: Remove Awaiting Author labels when Updated uses: actions-cool/issues-helper@v2