Skip to content

Conversation

@adamtheturtle
Copy link
Member

@adamtheturtle adamtheturtle commented Jan 22, 2026

PowerShell does not fail on intermediate command failures by default. By using bash shell, we ensure that any failing command causes the step to fail immediately.

See adamtheturtle/doccmd#720 for the original learning.


Note

CI workflow updates

  • Sets shell: bash for the Lint step to ensure the job fails if any command fails (PowerShell may not)
  • Adds SKIP env to bypass hadolint on Windows runners where it isn't available

No application code changes; only .github/workflows/lint.yml adjusted.

Written by Cursor Bugbot for commit e0b9ed8. This will update automatically on new commits. Configure here.

PowerShell does not fail on intermediate command failures by default.
By using bash shell, we ensure that any failing command causes the
step to fail immediately.
hadolint is not available on Windows.
@adamtheturtle adamtheturtle merged commit 0e49a98 into main Jan 22, 2026
10 checks passed
@adamtheturtle adamtheturtle deleted the fix/shell-bash-for-lint branch January 22, 2026 17:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants