diff --git a/.github/workflows/coder.yaml b/.github/workflows/coder.yaml index 2ee79931b1..6c0fd7d3c0 100644 --- a/.github/workflows/coder.yaml +++ b/.github/workflows/coder.yaml @@ -70,6 +70,8 @@ jobs: - "**.sh" go: - "**.go" + tf: + - "**.tf" ts: - 'site/**' k8s: @@ -255,6 +257,8 @@ jobs: name: "style/fmt" runs-on: ubuntu-latest timeout-minutes: 5 + needs: changes + if: needs.changes.outputs.sh == 'true' || needs.changes.outputs.ts == 'true' || needs.changes.outputs.tf == 'true' steps: - name: Checkout uses: actions/checkout@v3