Skip to content

Commit

Permalink
chore: [workflows] don't release from forks
Browse files Browse the repository at this point in the history
  • Loading branch information
mweststrate committed Jul 6, 2021
1 parent 3f9a94e commit 7f41483
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ jobs:
- name: build
run: yarn build
- name: publish
# avoid release on fork
if: github.repository == 'immerjs/immer'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand Down

0 comments on commit 7f41483

Please sign in to comment.