Skip to content

fix(workflows): remove job name override breaking main's required status check - #2363

Merged
eleshar merged 1 commit into
release/v1.0.0from
fix/main-branch-guard-job-name
Aug 27, 2026
Merged

fix(workflows): remove job name override breaking main's required status check#2363
eleshar merged 1 commit into
release/v1.0.0from
fix/main-branch-guard-job-name

Conversation

@eleshar

Copy link
Copy Markdown
Contributor

Linked issues

Relates to #2351. This is what was actually blocking it from becoming mergeable.

Changelog

Fixed

  • main-branch-guard.yml's validate-release-branch job explicitly overrode its display name to validate-release-branch, but main's branch protection requires the check Main Branch Guard / validate-release-branch (GitHub's default <workflow name> / <job id> format). The two strings can never match, so this permanently blocked every release PR to main from becoming mergeable, regardless of approval or the job's own pass/fail result. Removed the override.

Risk Assessment

Risk Level: Low

Potential Impact: Only affects how this one check's name is reported to branch protection; no change to what the job actually validates.

Mitigation Steps: Confirmed the job's validation logic is untouched — only the name: line was removed.

How to Test / Test Plan

Once merged, #2351's mergeStateStatus should move from BLOCKED to CLEAN (already approved, already passing its one required check by content — just reported under the wrong name).

Checklist (Global DoD / PR)

  • Confirmed via GitHub API that the required context string is Main Branch Guard / validate-release-branch and the reported context was the mismatched validate-release-branch

…tus check
main's branch protection requires the check "Main Branch Guard /
validate-release-branch" (GitHub's default <workflow name> / <job id>
format), but the job explicitly overrode its display name to just
"validate-release-branch" — a context string that can never match
what branch protection expects. This permanently blocked every
release PR from becoming mergeable to main, including #2351, even
after the job itself passed and the PR was approved.
Removing the override lets GitHub report the check under its default
name, matching what's already configured in branch protection.
@coderabbitai

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

🗂️ Base branches to auto review (5)
  • main
  • develop
  • feature/*
  • fix/*
  • update/*

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yml

Review profile: CHILL

Plan: Pro Plus

Run ID: 4adbacdc-c6c0-4d6e-92f5-19af65e3ad3c

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Note

.coderabbit.yml has unrecognized properties

CodeRabbit is using all valid settings from your configuration. Unrecognized properties (listed below) have been ignored and may indicate typos or deprecated fields that can be removed.

⚠️ Parsing warnings (1)
Validation error: Unrecognized keys: "auto_labels", "auto_assign", "auto_review"
⚙️ Configuration instructions
  • Please see the configuration documentation for more information.
  • You can also validate your configuration using the online YAML validator.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@mergify

mergifyBot commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

@eleshar
eleshar merged commit fde793f into release/v1.0.0Aug 27, 2026
8 of 10 checks passed
@eleshar
eleshar deleted the fix/main-branch-guard-job-name branch August 27, 2026 13:16
@github-actions

Copy link
Copy Markdown
Contributor

Milestone Allocation

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@eleshar