Skip to content

Commit 54c165c

Browse files
authored
Skip docs publishing on non-main brnaches (#41385)
1 parent b4a92f8 commit 54c165c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/static-checks-mypy-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ jobs:
243243
INCLUDE_SUCCESS_OUTPUTS: "${{ inputs.include-success-outputs }}"
244244
PYTHON_MAJOR_MINOR_VERSION: "${{ inputs.default-python-version }}"
245245
VERBOSE: "true"
246-
if: inputs.canary-run == 'true'
246+
if: inputs.canary-run == 'true' && inputs.branch == 'main'
247247
steps:
248248
- name: "Cleanup repo"
249249
shell: bash

0 commit comments

Comments
 (0)