CI: label a pull request breaksapi if there are changes on the wasm source code but no changes to the spec_version (#1727)

* trigger labelling pipeline for runtime changing pull requests

* cut out aws config as it is now included in the parity/awscli image
This commit is contained in:
gabriel klawitter
2019-02-08 13:00:01 +01:00
committed by GitHub
parent 78a60194eb
commit 91114c6c11
2 changed files with 22 additions and 22 deletions
+10 -1
View File
@@ -25,6 +25,7 @@ then
no changes to the runtime source code detected
EOT
exit 0
fi
@@ -61,7 +62,15 @@ binary blob. This may break the api.
EOT
echo
echo "# run github-api job for labelling it breaksapi"
curl -sS -X POST \
-F "token=${CI_JOB_TOKEN}" \
-F "ref=master" \
-F "variables[BREAKSAPI]=true" \
-F "variables[PRNO]=${CI_COMMIT_REF_NAME}" \
${GITLAB_API}/projects/${GITHUB_API_PROJECT}/trigger/pipeline