Repository navigation
ci: make Lint's actionlint step blocking (#1967) - #2043
Conversation
|
GOOD TO GO at
Known risk, not blocking: a GitHub release-download outage would now also turn Lint red. |
|
Coverage: 91.54% (unit tier, Python 3.15,
Per-file detail: the |
e7c1f52 to
1134603
Compare
|
Rebase only, no new changes: CI on the previous head |
1134603 to
5845cd4
Compare
|
Rebase only, no new changes: The head |
5845cd4 to
275f0cf
Compare
|
Rebase only, no new changes: The head |
- lint.yml: drop the actionlint step's `continue-on-error`, so a finding fails Lint; move it below the advisory steps and run it on `!cancelled()` so a finding skips none of them and a failed setup does not skip it. Version and sha256 pin unchanged. - lint.yml: the step's comment says it blocks, why that is safe now (#2023, #2037, #2038), and that the image's shellcheck can drift. - workflows.rst: Workflow Lint no longer calls the step advisory. - test_actionlint_in_lint_1967: TestItBlocks pins the blocking shape; test_unit_tests_shellcheck_1967's docstring no longer says advisory.
275f0cf to
e54eeaa
Compare
|
Rebase only, no new changes: The head |
make pylint,make mypy,make isort)make testpasses, and a test case covers the changeWhat is the purpose of your pull request?
ci— workflows or build toolingDescription of your pull request and other information
#1967, per the owner's ruling. Stacked on #2037, so review only the top commit.
continue-on-error, so a finding turns the Lint job red. It still exits with actionlint's own status, and the binary stays pinned by version and sha256.if: ${{ !cancelled() }}. A finding therefore cannot skip bandit, mypy, vermin or pylint, which stay advisory, and a failed setup does not skip actionlint.workflows.rstnow say it blocks. Every finding was fixed in ci: fix shellcheck findings and trim workflow comments (#1967) #2023, ci: fix shellcheck findings and trim comments in unit-tests.yml (#1967) #2037 and ci: trim comments in experimental.yml (#1967) #2038. The risk that remains is that the image's shellcheck version can drift.TestItBlockspins the change: nocontinue-on-error, no||, an exit with actionlint's status, and no step after it that a finding could skip.The pin fails on #2037's
lint.yml(3 failed) and passes here (11 passed). actionlint 1.7.12 with the step's-ignorereports nothing on.github/workflows. The 48 files that readlint.ymlor the contributing docs give984 passed.Note: Lint is not a required check in ruleset 23497679, so a red Lint does not hold a merge. That question is on #1967.