Skip to content

Commit eba2fd4

Browse files
authored
comment IGNORE_PROJECT_IDS logic (#52)
1 parent 54d8619 commit eba2fd4

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

src/main.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,12 @@ main() {
4646
project_id="$(teamwork::get_project_id_from_task "$task_id")"
4747
export TEAMWORK_PROJECT_ID=$project_id
4848

49-
ignored_project_ids=("${IGNORE_PROJECT_IDS:-}")
50-
if (( ${#ignored_project_ids[@]} != 0 )) || utils::in_array "$1" "${ignored_project_ids[*]}"
51-
then
52-
log::message "ignored due to IGNORE_PROJECT_IDS"
53-
exit 0
54-
fi
49+
# ignored_project_ids=("${IGNORE_PROJECT_IDS:-}")
50+
# if (( ${#ignored_project_ids[@]} != 0 )) || utils::in_array "$1" "${ignored_project_ids[*]}"
51+
# then
52+
# log::message "ignored due to IGNORE_PROJECT_IDS"
53+
# exit 0
54+
# fi
5555

5656
if [ "$event" == "pull_request" ] && [ "$action" == "opened" ]; then
5757
teamwork::pull_request_opened

0 commit comments

Comments
 (0)