diff --git a/.github/workflows/workflow_lint.yml b/.github/workflows/workflow_lint.yml index 88ce732..4004109 100644 --- a/.github/workflows/workflow_lint.yml +++ b/.github/workflows/workflow_lint.yml @@ -44,4 +44,15 @@ jobs: - name: Check workflow files uses: docker://rhysd/actionlint:1.7.12 with: - args: -color + # job.workflow_sha and job.workflow_repository exist on GitHub's job context (added + # 2026-04-23) and pr_compliance.yml / pr_agent_review.yml rely on them deliberately, but + # actionlint 1.7.12 (2026-03-30), the latest release, predates them and reports them as + # undefined on every pull request. Ignore only those two properties on the job context + # (the {check_run_id tail is what scopes it there) -- anything else still fails. Remove + # this once a release that knows them is pinned above. + # + # The action splits args on whitespace and does not honour quotes, so the pattern must + # contain neither: \s stands in for each space and \x22 for each double quote. + args: >- + -color + -ignore property\s\x22workflow_(sha|repository)\x22\sis\snot\sdefined\sin\sobject\stype\s\{check_run_id