Skip to content

Commit be55f6e

Browse files
committed
test(ci): load the shared bats helper in the labeler contract test
Every unit bats file under hack/ must load test_helper so it runs with nounset, and hack/bats-strict-setup.bats fails the suite for a file that does not. Assisted-by: LLM Signed-off-by: Aleksei Sviridkin <[email protected]>
1 parent 79e95a1 commit be55f6e

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎hack/label-workflows-contract.bats‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
# mapping demoted to a YAML `#` or JavaScript `//` comment must never satisfy
1111
# the contract. See hack/promote-gate-contract.bats for the pattern.
1212

13+
load test_helper
14+
1315
REPO_ROOT="$(cd "$(dirname "${BATS_TEST_FILENAME:-$0}")/.." && pwd)"
1416
PR_LABELER="$REPO_ROOT/.github/workflows/pr-labeler.yaml"
1517
STALE="$REPO_ROOT/.github/workflows/stale.yaml"

0 commit comments

Comments
 (0)