Skip to content

Commit 152b48a

Browse files
committed
fix bypass changelog
1 parent e12dfd6 commit 152b48a

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

buildkite/scripts/changelog.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ if [[ ! "$BUILDKITE_PULL_REQUEST_BASE_BRANCH" ]]; then
7474
exit 1
7575
fi
7676

77-
./buildkite/scripts/git/check-bypass.sh "!ci-bypass-changelog"
77+
./buildkite/scripts/git/check-bypass.sh "!ci-bypass-changelog" && exit 0;
7878

7979
REMOTE_BRANCH="origin/${BUILDKITE_PULL_REQUEST_BASE_BRANCH}"
8080

buildkite/scripts/git/check-bypass.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ if [[ "$COMMENTED_CODE" == 0 ]]; then
5050
exit 0
5151
elif [[ "$COMMENTED_CODE" == 1 ]]; then
5252
echo "⚙️ PR is not bypassed. Proceeding with changelog check..."
53+
exit 2
5354
else
5455
echo "❌ Failed to check PR for being eligible for changelog check bypass"
5556
exit 1
56-
fi
57+
fi

0 commit comments

Comments
 (0)