Skip to content

Commit 1d33990

Browse files
fix: ensure make gen runs on any changes (coder#15253)
Previously, `make gen` ran on CI whenever a non-docs change was made. Based off the problem described in coder#15252, it sounds like CI should *always* be running `gen`. (Because I broke it, currently PR `gen` is getting skipped unless the `ci` category is updated)
1 parent 95a348e commit 1d33990

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/ci.yaml

+1-2
Original file line numberDiff line numberDiff line change
@@ -233,8 +233,7 @@ jobs:
233233
gen:
234234
timeout-minutes: 8
235235
runs-on: ${{ github.repository_owner == 'coder' && 'depot-ubuntu-22.04-8' || 'ubuntu-latest' }}
236-
needs: changes
237-
if: needs.changes.outputs.docs-only == 'true' || needs.changes.outputs.ci == 'true' || github.ref == 'refs/heads/main'
236+
if: always()
238237
steps:
239238
- name: Harden Runner
240239
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1

0 commit comments

Comments
 (0)