ci: only tag breaksapi if there were changes to the runtime sources (#798)

This commit is contained in:
gabriel klawitter
2020-01-24 22:41:41 +08:00
committed by GitHub
parent f50d0c6505
commit c9e2e5ea0c
+6 -1
View File
@@ -126,7 +126,12 @@ do
if [ "${add_spec_version}" != "${sub_spec_version}" ]
then
github_label "B2-breaksapi"
if git diff --name-only origin/master...${CI_COMMIT_SHA} \
| grep -q -e '^runtime/'
then
# add label breaksapi only if this pr altered the runtime sources
github_label "B2-breaksapi"
fi
boldcat <<-EOT