From 31d1178bfeada53ed2eda6bd8c0ea4d492e581cb Mon Sep 17 00:00:00 2001 From: egor-romanov Date: Mon, 9 May 2022 11:36:49 +0400 Subject: [PATCH] fix: dont run token dependent steps on forks --- .github/workflows/integration-tests.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml index 56122b17af5..34150c7c715 100644 --- a/.github/workflows/integration-tests.yml +++ b/.github/workflows/integration-tests.yml @@ -73,7 +73,7 @@ jobs: keep_reports: 50 - name: Deploy report to Github Pages - if: always() + if: ${{ !github.event.pull_request.head.repo.fork }} uses: peaceiris/actions-gh-pages@v2 env: EXTERNAL_REPOSITORY: supabase/test-reports @@ -82,6 +82,7 @@ jobs: PUBLISH_DIR: allure-history - name: Post the link to the report + if: ${{ !github.event.pull_request.head.repo.fork }} uses: Sibz/github-status-action@v1 with: authToken: ${{ secrets.GITHUB_TOKEN }}