Prevent upload to swift if its from a fork
All checks were successful
Run Tox Check / tox-py312 (pull_request) Successful in 16s
Run Tox Check / tox-pep8 (pull_request) Successful in 16s
Updates Opensearch filters / update-opensearch-filters (pull_request) Successful in 10s

This commit is contained in:
2025-10-08 12:08:25 +00:00
parent 1ed083a057
commit ba01a984c0
2 changed files with 12 additions and 0 deletions

View File

@ -12,6 +12,9 @@ jobs:
tox-env: pdf-docs
- name: Upload documentation preview
{% raw -%}
if: ${{ github.event.pull_request.head.repo.full_name == github.repository }}
{%- endraw %}
uses: https://github.com/opentelekomcloud-infra/github-actions/.github/actions/tox-upload-swift@v1
{%- elif environment == 'public' %}
- uses: opentelekomcloud-infra/github-actions/.github/actions/tox-run-env@v1
@ -19,6 +22,9 @@ jobs:
tox-env: pdf-docs
- name: Upload documentation preview
{% raw -%}
if: ${{ github.event.pull_request.head.repo.full_name == github.repository }}
{%- endraw %}
uses: opentelekomcloud-infra/github-actions/.github/actions/tox-upload-swift@v1
{%- endif %}
with: