File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ if [[ ! "$BUILDKITE_PULL_REQUEST_BASE_BRANCH" ]]; then
7474 exit 1
7575fi
7676
77- ./buildkite/scripts/git/check-bypass.sh " !ci-bypass-changelog"
77+ ./buildkite/scripts/git/check-bypass.sh " !ci-bypass-changelog" && exit 0 ;
7878
7979REMOTE_BRANCH=" origin/${BUILDKITE_PULL_REQUEST_BASE_BRANCH} "
8080
Original file line number Diff line number Diff line change @@ -49,8 +49,9 @@ if [[ "$COMMENTED_CODE" == 0 ]]; then
4949 echo " ⏭️ Skipping run as PR is bypassed"
5050 exit 0
5151elif [[ " $COMMENTED_CODE " == 1 ]]; then
52- echo " ⚙️ PR is not bypassed. Proceeding with changelog check..."
52+ echo " ⚙️ PR is not bypassed. Proceeding with check..."
53+ exit 2
5354else
54- echo " ❌ Failed to check PR for being eligible for changelog check bypass"
55+ echo " ❌ Failed to check PR for being eligible for check bypass"
5556 exit 1
56- fi
57+ fi
You can’t perform that action at this time.
0 commit comments