From c73bf5189c09a18c7c9785a3c8eae573d6592adc Mon Sep 17 00:00:00 2001 From: Matthias Dellweg Date: Mon, 16 Jun 2025 09:11:49 +0200 Subject: [PATCH] Fix run condition for docs on release branch --- templates/github/.github/workflows/docs.yml.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/github/.github/workflows/docs.yml.j2 b/templates/github/.github/workflows/docs.yml.j2 index b72501e2..ce2ffae9 100644 --- a/templates/github/.github/workflows/docs.yml.j2 +++ b/templates/github/.github/workflows/docs.yml.j2 @@ -24,6 +24,7 @@ jobs: run: | towncrier build --yes --version 4.0.0.ci docs: + if: "endsWith(github.base_ref, '{{ plugin_default_branch }}')" uses: 'pulp/pulp-docs/.github/workflows/docs-ci.yml@{{ pulpdocs_branch }}' with: pulpdocs_ref: '{{ pulpdocs_branch }}'