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 }}'