Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion .github/workflows/workflow_lint.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
name: Workflow lint

# Reusable workflow-syntax gate for every EasyLife 365 repository.
Expand Down Expand Up @@ -44,4 +44,15 @@
- 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
Loading