Skip to content

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

Closed

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).

Activity

  1. added a commit that references this issue on May 20, 2026
  2. added 5 commits that reference this issue on Jun 7, 2026
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

    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