From 33e287876b09e4623d5fc5a1641f6f35dfda1be5 Mon Sep 17 00:00:00 2001 From: Alexander Druz Date: Mon, 23 Oct 2023 10:47:56 +0200 Subject: [PATCH] Only use secrets if on Renumics/spotlight --- .github/workflows/ci.yml | 2 +- .github/workflows/pr.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 04b32d53..8caa177d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -346,7 +346,7 @@ jobs: && github.repository == 'Renumics/spotlight' ) || ( github.event_name == 'pull_request' - && github.event.pull_request.head.repo.full_name == github.repository + && github.event.pull_request.head.repo.full_name == 'Renumics/spotlight' ) ) uses: LanceMcCarthy/Action-AzureBlobUpload@v2 diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 7a300f32..378ca9fb 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -6,7 +6,7 @@ jobs: # Comment comment-gui-screenshots: name: '🖍 Comment GUI screenshots' - if: github.event.pull_request.head.repo.full_name == github.repository + if: github.event.pull_request.head.repo.full_name == 'Renumics/spotlight' permissions: pull-requests: write runs-on: ubuntu-latest