Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 17 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,23 @@ name: Lint
on:
pull_request:
push:
branches: [main]
# Every default-branch name in the estate: `main` covers 68 repos,
# `master` covers siafudb-kuzu, `scaffold` covers shamwari-core,
# shamwari-gateway and shamwari-web. Drop a name and merging to that
# repo's default branch fires nothing, so the five contexts never
# land on the default-branch head - which is how `lint / prettier`
# stayed red in bundu-labs/.github from 2026-05-02 unnoticed.
#
# A list rather than a bare `push:`, because unfiltered push would
# run the gate on every feature-branch push in 74 repos and bill it
# twice per PR. Add a name here if a repo ever adopts a fourth.
branches: [main, master, scaffold]
# Required for repos whose ruleset uses a MERGE QUEUE: required checks
# must report on the gh-readonly-queue/** ref, and only merge_group
# produces that. Without it a queued PR stalls for the full
# check_response_timeout and nothing can ever land. Harmless where
# there is no queue, so it stays in the one identical caller.
merge_group:
workflow_dispatch:

concurrency:
Expand Down
25 changes: 25 additions & 0 deletions .yamllint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,31 @@ extends: default

ignore: |
node_modules/
# Lockfiles are generated, not authored. .prettierignore already
# exempts them under "Lockfiles, generated output"; yamllint not doing
# the same was an oversight that only stayed hidden because this repo
# has no lockfile. pnpm writes registry deprecation notices verbatim
# into pnpm-lock.yaml, which routinely exceeds the 140-char limit and
# cannot be rewrapped without invalidating the lockfile.
pnpm-lock.yaml
package-lock.json
yarn.lock
**/pnpm-lock.yaml
**/package-lock.json
**/yarn.lock

# Rails fixtures are ERB TEMPLATES, not YAML documents. campfire's
# test/fixtures/users.yml opens with
# <% password_digest = BCrypt::Password.create("secret123456") %>
# and only becomes valid YAML after Rails renders it, so yamllint
# reports a hard syntax error and always will. The ActionText fixtures
# alongside them are HTML blobs that tests assert on byte-for-byte, so
# rewrapping their long lines would be a test change, not a formatting
# change. Seven files in that repo are ERB-templated YAML; the others
# only parse because their ERB happens to sit inside quoted scalars,
# which is luck rather than correctness.
test/fixtures/
**/test/fixtures/

rules:
# 140-char limit. Workflow files have legitimately long shell URLs
Expand Down
Loading