Skip to content
This repository was archived by the owner on Feb 24, 2026. It is now read-only.

Commit 4fbdf99

Browse files
chore(java): ignore return code 28 in README autosynth job (#661)
This PR was generated using Autosynth. 🌈 Synth log will be available here: https://source.cloud.google.com/results/invocations/ad7c1164-454e-42aa-8280-57cc8f87ecad/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: googleapis/synthtool@7db8a6c
1 parent b637cf3 commit 4fbdf99

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

.kokoro/readme.sh

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,18 @@ echo "https://${GITHUB_TOKEN}:@github.com" >> ~/.git-credentials
2828
git config --global credential.helper 'store --file ~/.git-credentials'
2929

3030
python3.6 -m pip install git+https://github.com/googleapis/synthtool.git#egg=gcp-synthtool
31+
32+
set +e
3133
python3.6 -m autosynth.synth \
3234
--repository=googleapis/java-bigquerystorage \
3335
--synth-file-name=.github/readme/synth.py \
3436
--metadata-path=.github/readme/synth.metadata \
3537
--pr-title="chore: regenerate README" \
36-
--branch-suffix="readme"
38+
--branch-suffix="readme"
39+
40+
# autosynth returns 28 to signal there are no changes
41+
RETURN_CODE=$?
42+
if [[ ${RETURN_CODE} -ne 0 && ${RETURN_CODE} -ne 28 ]]
43+
then
44+
exit ${RETURN_CODE}
45+
fi

synth.metadata

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"git": {
1212
"name": ".",
1313
"remote": "https://github.com/googleapis/java-bigquerystorage.git",
14-
"sha": "96d68417906aeeacec6c0138fccf1843bfffc2bf"
14+
"sha": "b637cf3130e2230471389babf92106fb75505f57"
1515
}
1616
},
1717
{
@@ -50,7 +50,7 @@
5050
"git": {
5151
"name": "synthtool",
5252
"remote": "https://github.com/googleapis/synthtool.git",
53-
"sha": "c7824ea48ff6d4d42dfae0849aec8a85acd90bd9"
53+
"sha": "7db8a6c5ffb12a6e4c2f799c18f00f7f3d60e279"
5454
}
5555
}
5656
],

0 commit comments

Comments
 (0)