Skip to content

Commit

Permalink
Only run tests when on the original repository
Browse files Browse the repository at this point in the history
See #233
  • Loading branch information
caendesilva committed Dec 1, 2023
1 parent a00ab93 commit 8fc60e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:

runs-on: ${{ matrix.os }}
name: Hyde tests - ${{ matrix.os }} (${{ matrix.dependency-version }})
if: github.ref == 'refs/heads/master'
if: github.ref == 'refs/heads/master' && github.event.repository.full_name == 'hydephp/hyde'

steps:
- uses: shivammathur/setup-php@v2
Expand Down Expand Up @@ -55,7 +55,7 @@ jobs:

runs-on: ${{ matrix.os }}
name: Hyde tests - ${{ matrix.os }} ${{ matrix.php }} (develop)
if: github.ref == 'refs/heads/develop'
if: github.ref == 'refs/heads/develop' && github.event.repository.full_name == 'hydephp/hyde'

steps:
- uses: shivammathur/setup-php@v2
Expand Down

0 comments on commit 8fc60e5

Please sign in to comment.