Skip to content

Commit

Permalink
Prevent PRs outside of TryGhost org from attempting browser tests
Browse files Browse the repository at this point in the history
no issue
  • Loading branch information
sam-lord committed Apr 22, 2024
1 parent a2bbe6b commit 31b972f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Expand Up @@ -119,7 +119,7 @@ jobs:
base_commit: ${{ env.BASE_COMMIT }}
is_canary_branch: ${{ github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/arch') }}
is_main: ${{ github.ref == 'refs/heads/main' }}
has_browser_tests_label: ${{ github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'browser-tests') }}
has_browser_tests_label: ${{ github.event_name == 'pull_request' && github.repository == github.event.pull_request.head.repo.full_name && contains(github.event.pull_request.labels.*.name, 'browser-tests') }}

job_install_deps:
name: Install Dependencies
Expand Down

0 comments on commit 31b972f

Please sign in to comment.