@@ -56,22 +56,26 @@ runs:
5656 using : composite
5757 steps :
5858 - name : Set up Go
59+ if : " !startsWith(github.head_ref, 'changelog/')"
5960 uses : actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0
6061 with :
6162 go-version-file : go.mod
6263 cache : true
6364
6465 - name : Sync dependencies
66+ if : " !startsWith(github.head_ref, 'changelog/')"
6567 shell : bash
6668 run : |
6769 go mod download
6870 go mod tidy
6971
7072 - name : Install gotestsum
73+ if : " !startsWith(github.head_ref, 'changelog/')"
7174 shell : bash
7275 run : go install gotest.tools/gotestsum@latest
7376
7477 - name : Download artifact
78+ if : " !startsWith(github.head_ref, 'changelog/')"
7579 id : download-artifact
7680 uses : dawidd6/action-download-artifact@09f2f74827fd3a8607589e5ad7f9398816f540fe # v3.1.4
7781 with :
8185 branch : main
8286
8387 - name : Split acceptance tests
88+ if : " !startsWith(github.head_ref, 'changelog/')"
8489 id : test_split
8590 uses : hashicorp-forge/go-test-split-action@796beedbdb3d1bea14cad2d3057bab5c5cf15fe5 # v1.0.2
8691 with :
9196 list : ${{ inputs.list_tests }}
9297
9398 - name : Run Tests
99+ if : " !startsWith(github.head_ref, 'changelog/')"
94100 shell : bash
95101 env :
96102 TFE_HOSTNAME : " ${{ inputs.hostname }}"
@@ -119,6 +125,7 @@ runs:
119125 gotestsum --junitfile summary.xml --format short-verbose -- $MOD_PROVIDER $MOD_TFE $MOD_VERSION -v -timeout=60m -run "${{ steps.test_split.outputs.run }}"
120126
121127 - name : Upload test artifacts
128+ if : " !startsWith(github.head_ref, 'changelog/')"
122129 uses : actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
123130 with :
124131 name : junit-test-summary-${{ matrix.index }}
0 commit comments