Skip to content

ci: assert settings.yml strict: true in the gating test #187

Backlog

Description

@jflowers

From the PR #185 review (uf-divisor, LOW — assertion-depth):

"This test asserts the required-check contexts but not strict: true, although task 1.3 names it as preserved and the proposal's merge-train rationale depends on it. The test already extracts required_status_checks; asserting strict in the same section pins the invariant so a settings sync or future edit that flips it fails the test instead of silently changing branch-protection behavior."

Location: internal/workflowtest/ci_gating_test.go:105-115 — the test reads required_status_checks and asserts the contexts list; strict: true (.github/settings.yml:17) stays unpinned.

Review comment: #185 (comment)

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions