Skip to content

Commit b67296c

Browse files
committed
refactor(ci): only run lint-shellcheck on sh changes
1 parent 9ded224 commit b67296c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/coder.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,8 @@ jobs:
115115
name: style/lint/shellcheck
116116
timeout-minutes: 5
117117
runs-on: ubuntu-latest
118+
needs: changes
119+
if: needs.changes.outputs.sh == 'true'
118120
steps:
119121
- uses: actions/checkout@v3
120122
- name: Run ShellCheck

0 commit comments

Comments
 (0)