Skip to content

Commit e71b732

Browse files
authored
ci: rename branch-protection caller job id check -> branch-protection (#119)
GitHub names a reusable-workflow status context `<caller-job-id> / <called-job-name>`, so this caller reported as `check / check-branch` while the org ruleset requires `branch-protection / check-branch`. The required context never reported at all, leaving PRs to main/beta permanently BLOCKED.
1 parent a54c775 commit e71b732

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/branch-protection.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ on:
55
branches: [main, beta]
66

77
jobs:
8-
check:
8+
# Job id must stay `branch-protection` so the check reports as
9+
# `branch-protection / check-branch`, which is the context name the org
10+
# ruleset requires. GitHub names a reusable-workflow context
11+
# `<caller-job-id> / <called-job-name>`, so renaming this job silently
12+
# detaches the required status check and leaves PRs permanently pending.
13+
branch-protection:
914
uses: ConductionNL/.github/.github/workflows/branch-protection.yml@main
1015
secrets: inherit

0 commit comments

Comments
 (0)