From 9e2373e15e0ded8a7d95a65c7a7747f9f061306a Mon Sep 17 00:00:00 2001 From: Liam DeBeasi Date: Thu, 4 Nov 2021 16:08:21 -0400 Subject: [PATCH] docs(github-actions): do not run screenshot test on forks (#24164) --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4c98dcb722..f9c2304d99 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -42,7 +42,7 @@ jobs: test-core-screenshot: needs: [build-core] runs-on: ubuntu-latest - if: github.ref != 'refs/heads/main' + if: github.ref != 'refs/heads/main' && !github.event.pull_request.head.repo.fork steps: - uses: actions/checkout@v2 - uses: ./.github/workflows/actions/test-core-screenshot