Name the lint check as GitHub reports it #6

Merged
marcos-mendez merged 1 commit from docs/lint-check-name into main 2026-09-26 18:55:41 -03:00
marcos-mendez commented 2026-09-26 18:51:18 -03:00 (Migrated from github.com)

A workflow that is not called through another one produces a check named after its job alone: actionlint, not lint / actionlint. Protection on main requires the name GitHub reports, and this line said otherwise.

A protection rule that requires a name nothing produces blocks every pull request while looking correct, which is worth stating in the file the next person reads.

Test plan

  • gh api repos/Keel-Linux/.github/branches/main/protection lists actionlint as the required context, which is the name the check runs under on this pull request.
A workflow that is not called through another one produces a check named after its job alone: `actionlint`, not `lint / actionlint`. Protection on main requires the name GitHub reports, and this line said otherwise. A protection rule that requires a name nothing produces blocks every pull request while looking correct, which is worth stating in the file the next person reads. ## Test plan - `gh api repos/Keel-Linux/.github/branches/main/protection` lists `actionlint` as the required context, which is the name the check runs under on this pull request.
Sign in to join this conversation.
No description provided.