Skip to content

No lint runs against this repo's own workflow files #41

Description

@mairas

All six workflows here are workflow_call-only, so none of them trigger on this
repo's own pushes or pull requests. There is no test suite, no run script and
no lefthook config. A YAML syntax error or a bad ${{ }} expression is caught
by the first consumer that calls it, after merge to main — which is what every
consumer pins.

translation-status.yml raises the exposure: it carries the most embedded shell
of the six, with a PATCH/POST branch, PIPESTATUS handling and an
outcome-conditional step.

actionlint covers this cheaply and runs shellcheck over run: blocks. It
was run by hand against translation-status.yml before merge; nothing makes
that repeatable. Run it on pull_request over .github/workflows/ and
examples/.

This will not catch semantic mistakes — the if: steps.anchors.outcome == 'failure' condition that skipped when the gate failed was valid YAML and a
valid expression. It catches the syntax class, which is currently caught by
nobody.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions