Skip to content

ci(lint): normalise the lint gate to current canon - #6

Merged
Bryan Fawcett (bryanfawcett) merged 1 commit into
mainfrom
ci/normalise-lint-config
Sep 11, 2026
Merged

ci(lint): normalise the lint gate to current canon#6
Bryan Fawcett (bryanfawcett) merged 1 commit into
mainfrom
ci/normalise-lint-config

Conversation

@bryanfawcett

Copy link
Copy Markdown
Contributor

Config-only. Brings this repo's caller and lint configs byte-identical to nyuchi/.github, closing drift that accumulated while canon was fixed underneath the rollout.

change why
caller gains merge_group: a repo whose ruleset uses a merge queue needs required checks to report on gh-readonly-queue/**, and only merge_group produces that. Inert where there is no queue.
push trigger → [main, master, scaffold] four repos in the estate do not default to main; there, merging fired no workflow at all and the contexts never reached the default-branch head.
.yamllint.yaml generated-file exemptions lockfiles carry registry deprecation strings no developer wrote and cannot rewrap; Rails test/fixtures/ are ERB templates that only become YAML after Rails renders them.

No behaviour change beyond those. The point is that "identical in every repo" is checkable rather than aspirational.

Co-Authored-By: Claude Opus 5 (1M context) noreply@anthropic.com

Config-only. Brings this repo's caller and lint configs byte-identical to
nyuchi/.github, closing drift that accumulated while canon was fixed
underneath the rollout.

What moved, and why it moved:
  - the caller gains `merge_group:`, which a repo whose ruleset uses a
    merge queue needs - required checks must report on the
    gh-readonly-queue/** ref and only merge_group produces that. Inert
    where there is no queue.
  - the caller's push trigger becomes [main, master, scaffold], every
    default-branch name in the estate. Four repos do not default to
    `main`, and there merging fired no workflow at all.
  - .yamllint.yaml gains the generated-file exemptions: lockfiles, whose
    registry deprecation strings no developer wrote and cannot rewrap,
    and Rails test/fixtures/, which are ERB templates and only become
    YAML after Rails renders them.

No behaviour change here beyond those. The point is that "identical in
every repo" is checkable rather than aspirational.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@bryanfawcett
Bryan Fawcett (bryanfawcett) merged commit f4e2661 into main Sep 11, 2026
10 checks passed
@bryanfawcett
Bryan Fawcett (bryanfawcett) deleted the ci/normalise-lint-config branch September 11, 2026 20:14
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.

1 participant