We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c74eff8 commit 856953bCopy full SHA for 856953b
.github/workflows/label-last-commenter.yml
@@ -5,18 +5,18 @@ on:
5
types: [created]
6
7
jobs:
8
- deploy:
+ toggle_labels:
9
+ name: Toggle Labels
10
runs-on: ubuntu-latest
11
if: ${{ !github.event.issue.pull_request }}
12
steps:
- - name: Checkout
13
- uses: actions/checkout@v3
14
-
15
- name: Add label if commenter is not member
+ # Note: We only add the label if the issue is still open
16
if: |
17
github.event.comment.author_association != 'COLLABORATOR'
18
&& github.event.comment.author_association != 'MEMBER'
19
&& github.event.comment.author_association != 'OWNER'
+ && !github.event.issue.closed
20
uses: actions-ecosystem/action-add-labels@v1
21
with:
22
labels: 'Waiting for: Team'
0 commit comments