Skip to content

Commit 56f5f52

Browse files
committed
Always run pull_request_opened as a last case scenario when in test
1 parent 729fd04 commit 56f5f52

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ main() {
5454
teamwork::pull_request_review_submitted
5555
elif [ "$event" == "pull_request_review" ] && [ "$action" == "dismissed" ]; then
5656
teamwork::pull_request_review_dismissed
57+
elif [ "$ENV" == "test" ]; then # always run pull_request_opened at the very least when in test
58+
teamwork::pull_request_opened
5759
else
5860
log::message "Operation not allowed"
5961
exit 0

0 commit comments

Comments
 (0)