Lint the workflows every other repository depends on #5
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Keel-Linux/.github!5
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "ci/lint-workflows"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This repository holds the four reusable workflows the whole organization calls
at
@main, and it was the only active repository with no check of its own andno protection on its default branch. A mistake pushed here breaks every gate
at once, and nothing downstream catches it: a caller only learns that its
check failed to start.
lint.ymlruns actionlint, pinned by version and sha256 the waytest-shellpins kcov. It parses each workflow, checks expressions, runner labels
(
.github/actionlint.yamldeclareskeel-lxc) and action inputs, and runsshellcheck over every
runblock. Any report fails the job, informationalones included: four workflows that lint clean is a state worth defending, and
a tolerated info line is how the first real warning gets lost.
Four findings, all real, all fixed here:
build-deb.ymllisted the built packages withls, nowfindwith anexplicit format.
test-python.ymlandtest-shell.ymlsplitAPT_PACKAGESunquoted, whichis deliberate and now says so with a directive and a reason.
lint.ymlitself counted the workflows withlsin its summary, so thegate began by catching the commit that introduced it.
Test plan
023070a287cd8cccd71515fedc843f1985bf96c436b7effaecce67290e7e0757.and no status check is renamed.
lint / actionlintrequired onmain.