Skip to content

Commit 5eea03a

Browse files
authored
added issue_comment trigger
1 parent 37de332 commit 5eea03a

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ on:
4545
types: [opened, labeled]
4646
pull_request:
4747
types: [opened, labeled]
48+
issue_comment:
49+
types: [created]
4850
env:
4951
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5052

@@ -98,6 +100,8 @@ on:
98100
types: [opened, labeled]
99101
pull_request_target:
100102
types: [opened, labeled]
103+
issue_comment:
104+
types: [created]
101105
env:
102106
MY_GITHUB_TOKEN: ${{ secrets.MY_GITHUB_TOKEN }}
103107

entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ if [ -z "$INITIAL_COLUMN_ID" ]; then
125125
fi
126126

127127
case "$GITHUB_EVENT_NAME" in
128-
issues)
128+
issues|issue_comment)
129129
ISSUE_ID=$(jq -r '.issue.id' < "$GITHUB_EVENT_PATH")
130130

131131
# Add this issue to the project column

0 commit comments

Comments
 (0)