From fff78cca63ec33994f30fc3216b8ccc827ca6f7e Mon Sep 17 00:00:00 2001 From: YiWang2024 Date: Sun, 3 May 2026 22:38:28 -0400 Subject: [PATCH] fix(test): align issue workflow reference assertion Update self-test routing assertion to match owner/repo reusable workflow refs pinned by SHA. Co-Authored-By: Oz --- tests/actions/self-test-routing.bats | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/actions/self-test-routing.bats b/tests/actions/self-test-routing.bats index 573e207..1110ffd 100644 --- a/tests/actions/self-test-routing.bats +++ b/tests/actions/self-test-routing.bats @@ -227,7 +227,7 @@ setup() { @test "issue-ops.yml calls reusable issue.yml" { local issue_entry="${PROJECT_ROOT}/.github/workflows/issue-ops.yml" - grep -q 'uses: \.\/\.github\/workflows\/reusable\/issue\.yml' "$issue_entry" + grep -qP 'uses:\s+YiAgent/OpenCI/\.github/workflows/reusable/issue\.yml@[0-9a-f]{40}' "$issue_entry" } @test "issue-ops.yml has lifecycle job" {