Skip to content

Commit

Permalink
chore(release): do not run publish workflow on forks (react-native-ne…
Browse files Browse the repository at this point in the history
  • Loading branch information
mikehardy authored Nov 17, 2021
1 parent 5ee2617 commit a8bd5ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- run: yarn install --frozen-lockfile
- run: yarn test
deploy:
if: ${{ github.ref == 'refs/heads/master' }}
if: github.repository == 'react-native-netinfo/react-native-netinfo' && github.ref == 'refs/heads/master'
needs: test
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit a8bd5ff

Please sign in to comment.