Skip to content

Commit

Permalink
Trying to run CI on fork
Browse files Browse the repository at this point in the history
  • Loading branch information
Rishabhg71 committed Aug 30, 2023
1 parent 24d8789 commit 02762c7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
# Also runs end-to-end tests on Windows (taking advantage of the build)
tests-files-windows:
# We want to run on external PRs, but not on our own internal PRs as they'll be run by the push to the branch
if: github.event_name == 'push'
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -74,7 +74,7 @@ jobs:


- name: BrowserStack environment setup
if: github.event_name == 'push'
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository
uses: browserstack/github-actions/setup-env@master
with:
username: ${{ secrets.BROWSERSTACK_USERNAME }}
Expand Down Expand Up @@ -106,13 +106,13 @@ jobs:
npx mocha tests/safari14.bs.runner.js
- name: Stop BrowserStackLocal
if: github.event_name == 'push'
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository
uses: browserstack/github-actions/setup-local@master
with:
local-testing: stop

tests-windows:
if: github.event_name == 'push'
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
runs-on: windows-latest
timeout-minutes: 30
steps:
Expand Down

0 comments on commit 02762c7

Please sign in to comment.