File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ BUF_IMAGE_VERSION='1.46.0'
1919function schema-lint () {
2020 echo ' > lint schema files' >&2
2121
22- if [[ -n " ${CI :- } " ]]
22+ if [[ -n " ${GITHUB_WORKFLOW :- } " ]]
2323 then
2424 LOG_FORMAT=' github-actions'
2525 else
@@ -60,10 +60,10 @@ function schema-breaking-version () {
6060 sed ' s/^package .*//' " ${ROOT_PATH} /${SCHEMA_DIR} /${OLD} " > " $OLD_NP "
6161
6262 echo " >> compare new:${NEW} -VS- old:${OLD} " >&2
63- # stick with the original path of "$NEW", so the reporting makes sense...
63+ # stick with the original path and name of "$NEW", so the reporting makes sense...
6464 docker run --rm \
65- --volume " ${OLD_NP} :/workspaces/old/${NEW} :ro" \
66- --volume " ${NEW_NP} :/workspaces/new/${NEW} :ro" \
65+ --volume " ${OLD_NP} :/workspaces/old/${SCHEMA_DIR} / ${ NEW} :ro" \
66+ --volume " ${NEW_NP} :/workspaces/new/${SCHEMA_DIR} / ${ NEW} :ro" \
6767 --volume " ${THIS_PATH} /buf_breaking-version.yaml:/workspaces/new/buf.yaml:ro" \
6868 --workdir ' /workspaces/new' \
6969 bufbuild/buf:" $BUF_IMAGE_VERSION " \
You can’t perform that action at this time.
0 commit comments