Unverified Commit d67df24f authored by Martin Pugh's avatar Martin Pugh
Browse files

fix check_labels

parent ebbb354b
Pipeline #138349 canceled with stages
in 5 minutes and 25 seconds
......@@ -19,3 +19,4 @@ jobs:
GITHUB_PR: ${{ github.event.pull_request.number }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
HEAD_SHA: ${{ github.event.pull_request.head.sha }}
BASE_SHA: ${{ github.event.pull_request.base.sha }}
......@@ -54,7 +54,7 @@ else
exit 1
fi
if has_runtime_changes origin/master "${HEAD_SHA}"; then
if has_runtime_changes "${BASE_SHA}" "${HEAD_SHA}"; then
echo "[+] Runtime changes detected. Checking audit (D) labels"
if ensure_labels "${audit_labels[@]}"; then
echo "[+] Release audit label detected. All is well."
......
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