This repository was archived by the owner on Sep 18, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -28,9 +28,18 @@ echo "https://${GITHUB_TOKEN}:@github.com" >> ~/.git-credentials
2828git config --global credential.helper ' store --file ~/.git-credentials'
2929
3030python3.6 -m pip install git+https://github.com/googleapis/synthtool.git#egg=gcp-synthtool
31+
32+ set +e
3133python3.6 -m autosynth.synth \
3234 --repository=googleapis/java-billing \
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
Original file line number Diff line number Diff line change 44 "git": {
55 "name": ".",
66 "remote": "https://github.com/googleapis/java-billing.git",
7- "sha": "b6ffe7695a9595d857b19096e1d63820d20e5958 "
7+ "sha": "6b71670ab99f4194589df3222bfab6b5c20890c2 "
88 }
99 },
1010 {
1919 "git": {
2020 "name": "synthtool",
2121 "remote": "https://github.com/googleapis/synthtool.git",
22- "sha": "c7824ea48ff6d4d42dfae0849aec8a85acd90bd9 "
22+ "sha": "7db8a6c5ffb12a6e4c2f799c18f00f7f3d60e279 "
2323 }
2424 }
2525 ],
You can’t perform that action at this time.
0 commit comments