Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d0a5ba1

Browse files
committed
refactor(ci): run gen on gen changes
1 parent bdea460 commit d0a5ba1

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/coder.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,12 @@ jobs:
6868
# - '.github/**'
6969
sh:
7070
- "**.sh"
71+
gen:
72+
- coderd/database/dump.sql
73+
- coderd/database/querier.go
74+
- provisionersdk/proto/provisioner.pb.go
75+
- provisionerd/proto/provisionerd.pb.go
76+
- site/src/api/typesGenerated.ts
7177
go:
7278
- "**.go"
7379
tf:
@@ -185,7 +191,7 @@ jobs:
185191
timeout-minutes: 8
186192
runs-on: ubuntu-latest
187193
needs: changes
188-
if: needs.changes.outputs.docs-only == 'false'
194+
if: needs.changes.outputs.gen == 'true'
189195
steps:
190196
- uses: actions/checkout@v3
191197

0 commit comments

Comments
 (0)