Skip to content

ci: drop the actionlint \$/ ignore once actionlint supports self-repository syntax #552

Open

Description

@DevSecNinja

Problem

zizmor's self-repository audit has open code scanning alerts (#27–#31) for this repository's caller workflows that reference reusable workflows with the workspace-relative ./ form:

  • .github/workflows/autofix-caller.yml
  • .github/workflows/lint-caller.yml (2 jobs)
  • .github/workflows/renovate-pr-cooldown-caller.yml
  • .github/workflows/secret-scan-caller.yml

GitHub's $/ self-repository syntax (July 2026) resolves to the running commit without depending on the workspace and counts as pinned for the "require full-length SHA" policy.

Blocker

actionlint 1.7.12 (latest) rejects $/ in jobs.<id>.uses. #551 adds .github/actionlint.yaml with a per-file ignore for secret-scan.yml's nested call. Switching the callers now means adding an ignore per file, or waiting for actionlint to support $/.

Proposal

When actionlint supports $/, switch the callers above to $/.github/workflows/<file>.yml, drop the ignore in .github/actionlint.yaml, and let the zizmor alerts close.

Activity

  1. DevSecNinja commented on Nov 16, 2026

    @DevSecNinja
    OwnerAuthor

    Not needed: #551 dropped the wrapper workflow in favour of a lint-gitleaks-only input on lint.yml, so nothing uses the $/ syntax or needs the actionlint ignore. The existing zizmor self-repository hints on main are unchanged.

  2. DevSecNinja commented on Nov 17, 2026

    @DevSecNinja
    OwnerAuthor

    Reopened: #551 now adds lint-include.yml, which calls lint.yml through the $/\ self-repository syntax, so .github/actionlint.yaml\ again ignores that one actionlint error (1.7.12 doesn't know $/). Drop the ignore once actionlint supports $/; switching the in-repo callers to $/\ can happen then too.

  3. changed the title [-]ci: switch in-repo reusable-workflow callers to the $/ self-repository syntax[/-] [+]ci: drop the actionlint \$/ ignore once actionlint supports self-repository syntax[/+] on Nov 17, 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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions