We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 83539cc commit 9f6587cCopy full SHA for 9f6587c
1 file changed
handwritten/bigtable/cloudbuild.yaml
@@ -7,12 +7,8 @@ steps:
7
- '-c'
8
- |
9
git fetch origin main --quiet
10
- # If on a branch, compare with origin/main. If on main, compare with previous commit.
11
- DIFF_RANGE="origin/main..."
12
- if [ "$(git rev-parse HEAD)" == "$(git rev-parse origin/main)" ]; then
13
- DIFF_RANGE="HEAD~1..HEAD"
14
- fi
15
- if git diff --quiet "$DIFF_RANGE" -- . ; then
+ # Compare with origin/main to detect changes.
+ if git diff --quiet origin/main... -- . ; then
16
echo "No changes in handwritten/bigtable. Skipping tests."
17
echo "skip" > /workspace/skip_tests
18
else
0 commit comments