Skip to content

Commit

Permalink
Revert running pull_request_opened when pr is reopened
Browse files Browse the repository at this point in the history
  • Loading branch information
Flexicon committed Aug 9, 2021
1 parent 56f5f52 commit 151abee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ main() {
project_id="$(teamwork::get_project_id_from_task "$task_id")"
export TEAMWORK_PROJECT_ID=$project_id

if [ "$event" == "pull_request" ] && [ "$action" == "opened" ] || [ "$action" == "reopened" ]; then
if [ "$event" == "pull_request" ] && [ "$action" == "opened" ]; then
teamwork::pull_request_opened
elif [ "$event" == "pull_request" ] && [ "$action" == "closed" ]; then
teamwork::pull_request_closed
Expand Down

0 comments on commit 151abee

Please sign in to comment.