Skip to content

Commit 151abee

Browse files
committed
Revert running pull_request_opened when pr is reopened
1 parent 56f5f52 commit 151abee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ main() {
4646
project_id="$(teamwork::get_project_id_from_task "$task_id")"
4747
export TEAMWORK_PROJECT_ID=$project_id
4848

49-
if [ "$event" == "pull_request" ] && [ "$action" == "opened" ] || [ "$action" == "reopened" ]; then
49+
if [ "$event" == "pull_request" ] && [ "$action" == "opened" ]; then
5050
teamwork::pull_request_opened
5151
elif [ "$event" == "pull_request" ] && [ "$action" == "closed" ]; then
5252
teamwork::pull_request_closed

0 commit comments

Comments
 (0)