From 2923b33836e424f2051be24d970bf6e0e6954e41 Mon Sep 17 00:00:00 2001 From: Kathryn Baldauf Date: Mon, 9 Jun 2025 16:40:22 -0700 Subject: [PATCH] Allow building docs from main (#53) We eventually only want to support building docs from release branches and tags, however, while we're working to initially set up the docs, we may have some churn. So we want to be able to publish from main during that churn. Signed-off-by: Kathryn Baldauf --- .github/workflows/docs-release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docs-release.yaml b/.github/workflows/docs-release.yaml index da56c262..d3fc44b2 100644 --- a/.github/workflows/docs-release.yaml +++ b/.github/workflows/docs-release.yaml @@ -7,7 +7,7 @@ on: jobs: checkBranch: runs-on: ubuntu-latest - if: startsWith(github.ref, 'refs/tags') || startsWith(github.ref, 'refs/heads/release') + if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags') || startsWith(github.ref, 'refs/heads/release') steps: - name: Branch validation run: echo "Branch ${{ github.ref_name }} is allowed"