From a6087b11f9a5553a350a4dcc68538d356f61a011 Mon Sep 17 00:00:00 2001 From: Niko Date: Sun, 30 Mar 2025 21:06:00 +0200 Subject: [PATCH 1/2] Add manual trigger to RTD preview. --- .github/workflows/rtd-preview.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/rtd-preview.yml b/.github/workflows/rtd-preview.yml index b82cd3dd0..ff66d8e63 100644 --- a/.github/workflows/rtd-preview.yml +++ b/.github/workflows/rtd-preview.yml @@ -3,6 +3,7 @@ on: pull_request_target: types: - opened + workflow_dispatch: permissions: pull-requests: write From c98382be07d47b7eebc301df1257ad6fd8de6310 Mon Sep 17 00:00:00 2001 From: Niko Date: Mon, 31 Mar 2025 10:47:46 +0200 Subject: [PATCH 2/2] Execute RTP Preview only for forks. --- .github/workflows/rtd-preview.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/rtd-preview.yml b/.github/workflows/rtd-preview.yml index ff66d8e63..52b773f3b 100644 --- a/.github/workflows/rtd-preview.yml +++ b/.github/workflows/rtd-preview.yml @@ -10,6 +10,7 @@ permissions: jobs: documentation-links: + if: github.event.pull_request.head.repo.fork == true runs-on: ubuntu-latest timeout-minutes: 10 steps: