Skip to content

Update main CI job to have name#111

Merged
posborne merged 1 commit into
mainfrom
posborne/name-main-ci-job
Jun 3, 2026
Merged

Update main CI job to have name#111
posborne merged 1 commit into
mainfrom
posborne/name-main-ci-job

Conversation

@posborne
Copy link
Copy Markdown
Member

@posborne posborne commented Jun 3, 2026

Right now, GitHub is not showing an option in branch protection rules for this job to be completed as a status check. While I have not seen anything explicitly documented that having unnamed or generic job ids (e.g. build) will cause this to happen, there are recommendations to have jobs be uniquely named to avoid ambiguity and potential problems.

This change will need to land on main for us to know whether it resolves the problem. Feel free to take a gander at the rules to make sure I'm not missing something obvious as well @erikrose -- what I observed is that PRs are able to be merged before CI completes. Not the end of the world, but makes it easier for a goof to make it into main.

Right now, GitHub is not showing an option in branch
protection rules for this job to be completed as a status check.
While I have not seen anything explicitly documented that having
unnamed or generic job ids (e.g. build) will cause this to happen,
there are recommendations to have jobs be uniquely named to
avoid ambiguity and potential problems.
@posborne posborne requested a review from erikrose June 3, 2026 17:00
Copy link
Copy Markdown
Member

@erikrose erikrose left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's give the simple thing a shot before doing a deep perusal!

@posborne posborne merged commit 0a3908e into main Jun 3, 2026
1 check passed
@posborne posborne deleted the posborne/name-main-ci-job branch June 3, 2026 17:56
Sign up for free to 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.

2 participants