Skip to content

fix(ci): exclude *.lock.yml from actionlint #322

Description

@don-petry

Problem

After fixing yamllint to exclude *.lock.yml (PR #321), actionlint still runs on lock files via .github/workflows/*.yml glob. The ci-failure-analyst.lock.yml uses ubuntu-slim runner label which actionlint rejects.

Fix

In .github/workflows/ci.yml, change the actionlint invocation from:

          ./actionlint -ignore 'SC2129' .github/workflows/*.yml

to:

          shopt -s extglob
          ./actionlint -ignore 'SC2129' .github/workflows/!(*.lock).yml

The extglob pattern !(*.lock).yml excludes .lock.yml files without introducing word-splitting issues (SC2046).

Metadata

Metadata

Assignees

No one assigned

    Labels

    dev-leadFor dev-lead agent pickup

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions