Problem
.github/actionlint.yaml in this repo carries a repo-local ignore for
deploy-shared.yml:
paths:
.github/workflows/deploy-shared.yml:
# actionlint 1.7.12 predates these GitHub job context properties.ignore:
- 'property "workflow_(repository|sha)" is not defined in object type'
This exists because actionlint doesn't yet understand
job.workflow_repository/job.workflow_sha, the newer GitHub Actions
context properties deploy-shared.yml relies on (used to self-checkout the
correct repo/ref inside a reusable workflow). Baseline's own
hooks/actionlint.sh carries the equivalent -ignore flags for the same
gap, plus two more for the $/... self-reference convention used
throughout this repo's workflows (Copilot's automated review on #102 flagged
those $/... references as invalid — false positive, same root cause: the
reviewing tool doesn't know about this newer GitHub Actions behavior
either).
Baseline released
v0.13.1
("ignore unsupported reusable workflow context") while this PR was still
open — this repo is still pinned to v0.13.0 in lint.yml, embedder.yml,
github.yml, and notify-telegram-pr.yml.
Proposed change
Once this repo bumps its rubykatzen/baseline@vX pin past v0.13.1 (likely
via the existing Dependabot flow), re-check whether v0.13.1 actually changed
actionlint's handling of workflow_repository/workflow_sha (upgraded
actionlint version, or adjusted ignore list). If it did, drop the
now-redundant ignore block from this repo's own .github/actionlint.yaml.
Related
Surfaced while triaging Copilot's automated review on #102.
Problem
.github/actionlint.yamlin this repo carries a repo-local ignore fordeploy-shared.yml:This exists because actionlint doesn't yet understand
job.workflow_repository/job.workflow_sha, the newer GitHub Actionscontext properties
deploy-shared.ymlrelies on (used to self-checkout thecorrect repo/ref inside a reusable workflow). Baseline's own
hooks/actionlint.shcarries the equivalent-ignoreflags for the samegap, plus two more for the
$/...self-reference convention usedthroughout this repo's workflows (Copilot's automated review on #102 flagged
those
$/...references as invalid — false positive, same root cause: thereviewing tool doesn't know about this newer GitHub Actions behavior
either).
Baseline released
v0.13.1
("ignore unsupported reusable workflow context") while this PR was still
open — this repo is still pinned to v0.13.0 in
lint.yml,embedder.yml,github.yml, andnotify-telegram-pr.yml.Proposed change
Once this repo bumps its
rubykatzen/baseline@vXpin past v0.13.1 (likelyvia the existing Dependabot flow), re-check whether v0.13.1 actually changed
actionlint's handling of
workflow_repository/workflow_sha(upgradedactionlint version, or adjusted ignore list). If it did, drop the
now-redundant ignore block from this repo's own
.github/actionlint.yaml.Related
Surfaced while triaging Copilot's automated review on #102.