Skip to content

Commit 206f711

Browse files
committed
fixup! add needs
1 parent 9590cac commit 206f711

File tree

1 file changed

+11
-14
lines changed

1 file changed

+11
-14
lines changed

.github/workflows/coder.yaml

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,8 @@ jobs:
4646
- 'docs/**'
4747
# For testing:
4848
- '.github/**'
49-
- id: log
50-
run: |
51-
echo "${{ toJSON(steps.filter) }}"
52-
echo "DOCS_ONLY=${{ steps.filter.outputs.docs_count == steps.filter.outputs.all_count }} >> $GITHUB_ENV"
5349
50+
# Debug step
5451
show-changes:
5552
needs: changes
5653
runs-on: ubuntu-latest
@@ -63,7 +60,7 @@ jobs:
6360
name: style/lint/golangci
6461
timeout-minutes: 5
6562
needs: changes
66-
if: needs.changes.outputs.docs_only == false
63+
if: needs.changes.outputs.docs-only == false
6764
runs-on: ubuntu-latest
6865
steps:
6966
- uses: actions/checkout@v3
@@ -80,7 +77,7 @@ jobs:
8077
timeout-minutes: 5
8178
runs-on: ubuntu-latest
8279
needs: changes
83-
if: needs.changes.outputs.docs_only == 'false'
80+
if: needs.changes.outputs.docs-only == 'false'
8481
steps:
8582
- uses: actions/checkout@v3
8683
- name: Run ShellCheck
@@ -94,7 +91,7 @@ jobs:
9491
name: "style/lint/typescript"
9592
timeout-minutes: 5
9693
needs: changes
97-
if: needs.changes.outputs.docs_only == 'false'
94+
if: needs.changes.outputs.docs-only == 'false'
9895
runs-on: ubuntu-latest
9996
steps:
10097
- name: Checkout
@@ -123,7 +120,7 @@ jobs:
123120
timeout-minutes: 5
124121
runs-on: ubuntu-latest
125122
needs: changes
126-
if: needs.changes.outputs.docs_only == 'false'
123+
if: needs.changes.outputs.docs-only == 'false'
127124
steps:
128125
- uses: actions/checkout@v3
129126

@@ -160,7 +157,7 @@ jobs:
160157
style-fmt:
161158
name: "style/fmt"
162159
needs: changes
163-
if: needs.changes.outputs.docs_only == 'false'
160+
if: needs.changes.outputs.docs-only == 'false'
164161
runs-on: ubuntu-latest
165162
timeout-minutes: 5
166163
steps:
@@ -194,7 +191,7 @@ jobs:
194191
test-go:
195192
name: "test/go"
196193
needs: changes
197-
if: needs.changes.outputs.docs_only == 'false'
194+
if: needs.changes.outputs.docs-only == 'false'
198195
runs-on: ${{ matrix.os }}
199196
timeout-minutes: 20
200197
strategy:
@@ -272,7 +269,7 @@ jobs:
272269
test-go-postgres:
273270
name: "test/go/postgres"
274271
needs: changes
275-
if: needs.changes.outputs.docs_only == 'false'
272+
if: needs.changes.outputs.docs-only == 'false'
276273
runs-on: ubuntu-latest
277274
# This timeout must be greater than the timeout set by `go test` in
278275
# `make test-postgres` to ensure we receive a trace of running
@@ -347,7 +344,7 @@ jobs:
347344
needs: changes
348345
if: |
349346
github.ref == 'refs/heads/main' && !github.event.pull_request.head.repo.fork
350-
&& needs.changes.outputs.docs_only == 'false'
347+
&& needs.changes.outputs.docs-only == 'false'
351348
permissions:
352349
contents: read
353350
id-token: write
@@ -454,7 +451,7 @@ jobs:
454451
test-js:
455452
name: "test/js"
456453
needs: changes
457-
if: needs.changes.outputs.docs_only == 'false'
454+
if: needs.changes.outputs.docs-only == 'false'
458455
runs-on: ubuntu-latest
459456
timeout-minutes: 20
460457
steps:
@@ -509,7 +506,7 @@ jobs:
509506
test-e2e:
510507
name: "test/e2e/${{ matrix.os }}"
511508
needs: changes
512-
if: needs.changes.outputs.docs_only == 'false'
509+
if: needs.changes.outputs.docs-only == 'false'
513510
runs-on: ${{ matrix.os }}
514511
timeout-minutes: 20
515512
strategy:

0 commit comments

Comments
 (0)