Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

fix: dont run token dependent steps on forks

egor-romanov31d1178bfead
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 }}