14 lines
308 B
YAML
14 lines
308 B
YAML
|
---
|
||
|
when:
|
||
|
- event: [pull_request, tag]
|
||
|
- event: [push, manual]
|
||
|
branch:
|
||
|
- ${CI_REPO_DEFAULT_BRANCH}
|
||
|
|
||
|
steps:
|
||
|
lint:
|
||
|
image: docker.io/koalaman/shellcheck-alpine:stable
|
||
|
commands:
|
||
|
- shellcheck --version
|
||
|
- grep -ErlI '^#!(.*/|.*env +)(sh|bash|ksh)' ./overlay/ | xargs shellcheck
|