Skip to content

Commit 3a8ad44

Browse files
mark-vieiramridula-s109
authored andcommitted
Don't run script on main branch
1 parent dfc0c9f commit 3a8ad44

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)