Skip to content

Commit 03940f5

Browse files
chore: ensure make gen runs on CI when docs are updated (coder#15252)
coder#15203 was merged with a failing `make gen`, as it only updated the docs. This makes it so this can't happen again. The capitalization of the Go type used in the auto-generated docs (`codersdk.OAuth2GithubConfig`) wasn't updated as it would technically be a breaking change for the sdk.
1 parent 007f0a3 commit 03940f5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/ci.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ jobs:
234234
timeout-minutes: 8
235235
runs-on: ${{ github.repository_owner == 'coder' && 'depot-ubuntu-22.04-8' || 'ubuntu-latest' }}
236236
needs: changes
237-
if: needs.changes.outputs.docs-only == 'false' || needs.changes.outputs.ci == 'true' || github.ref == 'refs/heads/main'
237+
if: needs.changes.outputs.docs-only == 'true' || needs.changes.outputs.ci == 'true' || github.ref == 'refs/heads/main'
238238
steps:
239239
- name: Harden Runner
240240
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1

docs/reference/api/schemas.md

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)