File tree 2 files changed +12
-3
lines changed
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
28
28
git config --global credential.helper ' store --file ~/.git-credentials'
29
29
30
30
python3.6 -m pip install git+https://github.com/googleapis/synthtool.git#egg=gcp-synthtool
31
+
32
+ set +e
31
33
python3.6 -m autosynth.synth \
32
34
--repository=googleapis/java-workflows \
33
35
--synth-file-name=.github/readme/synth.py \
34
36
--metadata-path=.github/readme/synth.metadata \
35
37
--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 4
4
"git": {
5
5
"name": ".",
6
6
"remote": "https://github.com/googleapis/java-workflows.git",
7
- "sha": "c170c3b6fea316996d71e4191bdc98d8fdf68883 "
7
+ "sha": "b0a638a76ba7dc898619b5e97675bae139a524d6 "
8
8
}
9
9
},
10
10
{
19
19
"git": {
20
20
"name": "synthtool",
21
21
"remote": "https://github.com/googleapis/synthtool.git",
22
- "sha": "c7824ea48ff6d4d42dfae0849aec8a85acd90bd9 "
22
+ "sha": "7db8a6c5ffb12a6e4c2f799c18f00f7f3d60e279 "
23
23
}
24
24
}
25
25
],
You can’t perform that action at this time.
0 commit comments