Skip to content

Commit 1288faf

Browse files
authored
Update invite.yml
1 parent c5b3296 commit 1288faf

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

.github/workflows/invite.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,21 @@ name: Automate Invitation
22

33
on:
44
issues:
5-
types: [labeled]
5+
types: [opened]
66

77
jobs:
8+
auto_label_issue:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- name: Label Issue as 'invite me to the community'
13+
uses: actions-ecosystem/action-add-labels@v1
14+
with:
15+
github_token: ${{ secrets.INVITE_TOKEN }}
16+
labels: 'invite me to the community'
17+
818
handle_label:
19+
needs: auto_label_issue
920
runs-on: ubuntu-latest
1021

1122
steps:

0 commit comments

Comments
 (0)