diff --git a/.github/workflows/label-last-commenter.yml b/.github/workflows/label-last-commenter.yml deleted file mode 100644 index 6b8161542c97..000000000000 --- a/.github/workflows/label-last-commenter.yml +++ /dev/null @@ -1,31 +0,0 @@ -name: 'Tag issues with last commenter' - -on: - issue_comment: - types: [created] - -jobs: - toggle_labels: - name: Toggle Labels - runs-on: ubuntu-latest - if: ${{ !github.event.issue.pull_request }} - steps: - - name: Add label if commenter is not member - # Note: We only add the label if the issue is still open - if: | - github.event.comment.author_association != 'COLLABORATOR' - && github.event.comment.author_association != 'MEMBER' - && github.event.comment.author_association != 'OWNER' - && github.event.issue.state == 'open' - uses: actions-ecosystem/action-add-labels@v1 - with: - labels: 'Waiting for: Team' - - - name: Remove label if commenter is member - if: | - github.event.comment.author_association == 'COLLABORATOR' - || github.event.comment.author_association == 'MEMBER' - || github.event.comment.author_association == 'OWNER' - uses: actions-ecosystem/action-remove-labels@v1 - with: - labels: 'Waiting for: Team'