Unverified Commit 952f09da authored by gabriel klawitter's avatar gabriel klawitter Committed by GitHub
Browse files

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

parent be7f00a8
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment