Skip to content

Commit

Permalink
Don't lint scripts if there is no bin directory
Browse files Browse the repository at this point in the history
  • Loading branch information
ahosgood committed Oct 13, 2023
1 parent 08eab98 commit 5cba71c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/_docker-build-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
- name: ShellCheck
run: |
cd docker/${{ inputs.image-name }}
shellcheck --external-sources --exclude=SC1091 ./bin/*
[ -d "./bin" ] && shellcheck --external-sources --exclude=SC1091 ./bin/*
shellcheck --external-sources --exclude=SC2148 ./Dockerfile
- name: Log in to registry
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u $ --password-stdin
Expand Down

0 comments on commit 5cba71c

Please sign in to comment.