Unverified Commit 0f417830 authored by Martin Pugh's avatar Martin Pugh Committed by GitHub
Browse files

[CI][WIP] Fix check_labels (#3039)

* fix check_labels

* runtime change test. revert me

* Revert "runtime change test. revert me"

This reverts commit 6bec7e34.
parent ebbb354b
Pipeline #138361 passed with stages
in 20 minutes and 30 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