Saltar al contenido principal

Commit to a shell quality gate in CI

Commit to adding a small repeatable lint or test gate for shell scripts in a repository.

shell-scripting5 min read

Add one repeatable quality gate for shell scripts in a repo you work in. Choose a repo with at least one shell script used by CI, cron, deployment, data export, cleanup, or local support. I will add [ShellCheck/Bats/local script] to [repo or CI workflow] covering [first script or glob], and verify it by [CI run/link/local command output]. In 3 days, check whether the gate exists and whether it has run at least once. The next time a PR changes scripts/.sh, .github/workflows/, or a deploy helper Before the next scheduled run of a shell script that has caused a previous incident…

Read the full lesson

Sign up free: one personalized lesson every day, matched to your role and goals.

← Back to library

Contáctanos