Skip to content

Commit 7f41483

Browse files
committed
chore: [workflows] don't release from forks
1 parent 3f9a94e commit 7f41483

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/release.yml

+2
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ jobs:
2323
- name: build
2424
run: yarn build
2525
- name: publish
26+
# avoid release on fork
27+
if: github.repository == 'immerjs/immer'
2628
env:
2729
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2830
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)