Skip to content

Commit a2b7754

Browse files
committed
Don't run script on main branch
1 parent 62fd0fb commit a2b7754

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.buildkite/scripts/validate-transport-version-backport.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
#!/bin/bash
22
set -euo pipefail
33

4+
if [[ "${BUILDKITE_PULL_REQUEST_BASE_BRANCH}" == "main" ]]; then
5+
# Don't run on PRs targeting main
6+
exit 0
7+
fi
8+
49
echo "--- Looking for transport version changes"
510

611
# Get any changes in this pull request to transport definitions

0 commit comments

Comments
 (0)