Branch protection on main requires a status check named "Lint" that never exists #14

Closed
opened 2026-09-27 11:54:48 -04:00 by jared · 1 comment
Owner

The main rule sets status_check_contexts: ["Lint"], but Actions reports contexts like Lint / JS (eslint) (push) and Lint / Secret scan (gitleaks) (pull_request). No context is ever named exactly Lint, so every PR into main is unmergeable ("Not all required status checks successful"), even with all checks green. matrix #12 had to be merged by direct push.

Fix: in Settings → Branches → main, set the required checks to the real names, or to a pattern like Lint / * (Gitea supports glob patterns there).

The `main` rule sets `status_check_contexts: ["Lint"]`, but Actions reports contexts like `Lint / JS (eslint) (push)` and `Lint / Secret scan (gitleaks) (pull_request)`. No context is ever named exactly `Lint`, so **every PR into `main` is unmergeable** ("Not all required status checks successful"), even with all checks green. matrix #12 had to be merged by direct push. Fix: in Settings → Branches → `main`, set the required checks to the real names, or to a pattern like `Lint / *` (Gitea supports glob patterns there).
Author
Owner

Fixed

The main branch protection now requires the status-check pattern Lint / * instead of Lint, which matched no check (the real contexts are Lint / JS (eslint) (push), Lint / Shell (shellcheck) (pull_request) and so on). The rest of the rule is unchanged: status checks are on, and push is allow-listed to jared.

Verified: PR #15 merged through Gitea's own merge (API), with all 14 Lint / … checks (push and pull_request) green. Before the fix, every PR into main failed with "Not all required status checks successful".

## Fixed The `main` branch protection now requires the status-check pattern **`Lint / *`** instead of `Lint`, which matched no check (the real contexts are `Lint / JS (eslint) (push)`, `Lint / Shell (shellcheck) (pull_request)` and so on). The rest of the rule is unchanged: status checks are on, and push is allow-listed to `jared`. **Verified:** PR #15 merged through Gitea's own merge (API), with all 14 `Lint / …` checks (push and pull_request) green. Before the fix, every PR into `main` failed with "Not all required status checks successful".
jared closed this issue 2026-09-28 18:53:45 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: LotusGuild/matrix#14