From 6f96791a45c4a74ccfbf46f33d410462d787436d Mon Sep 17 00:00:00 2001 From: Ethan Dickson Date: Mon, 28 Oct 2024 15:11:52 +0000 Subject: [PATCH] chore: run `make gen` on ci if docs are updated --- .github/workflows/ci.yaml | 2 +- docs/reference/api/schemas.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index fa5164b91caa4..dbfe10242ff3e 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -234,7 +234,7 @@ jobs: timeout-minutes: 8 runs-on: ${{ github.repository_owner == 'coder' && 'depot-ubuntu-22.04-8' || 'ubuntu-latest' }} needs: changes - if: needs.changes.outputs.docs-only == 'false' || needs.changes.outputs.ci == 'true' || github.ref == 'refs/heads/main' + if: needs.changes.outputs.docs-only == 'true' || needs.changes.outputs.ci == 'true' || github.ref == 'refs/heads/main' steps: - name: Harden Runner uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1 diff --git a/docs/reference/api/schemas.md b/docs/reference/api/schemas.md index 121620fc98fd6..f4e683305029b 100644 --- a/docs/reference/api/schemas.md +++ b/docs/reference/api/schemas.md @@ -3605,9 +3605,9 @@ CreateWorkspaceRequest provides options for creating a new workspace. Only one o | Name | Type | Required | Restrictions | Description | | -------- | ---------------------------------------------------------- | -------- | ------------ | ----------- | -| `github` | [codersdk.OAuth2GitHubConfig](#codersdkoauth2githubconfig) | false | | | +| `github` | [codersdk.OAuth2GithubConfig](#codersdkoauth2githubconfig) | false | | | -## codersdk.OAuth2GitHubConfig +## codersdk.OAuth2GithubConfig ```json {