From b67296c0a4dcccd2549c68c62175129f6f900720 Mon Sep 17 00:00:00 2001 From: Joe Previte Date: Wed, 28 Sep 2022 16:27:35 +0000 Subject: [PATCH] refactor(ci): only run lint-shellcheck on sh changes --- .github/workflows/coder.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/coder.yaml b/.github/workflows/coder.yaml index 13c257d4c3..762dd02413 100644 --- a/.github/workflows/coder.yaml +++ b/.github/workflows/coder.yaml @@ -115,6 +115,8 @@ jobs: name: style/lint/shellcheck timeout-minutes: 5 runs-on: ubuntu-latest + needs: changes + if: needs.changes.outputs.sh == 'true' steps: - uses: actions/checkout@v3 - name: Run ShellCheck