mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-09 19:01:08 +00:00
ci: only tag breaksapi if there were changes to the runtime sources (#798)
This commit is contained in:
committed by
GitHub
parent
f50d0c6505
commit
c9e2e5ea0c
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user