Skip to content

Commit 084eed3

Browse files
ci: only run release job in BitGo's GitHub Actions
When I pulled upstream/master and pushed to my fork's master branch, the release job ran and failed because I did not have the NPM_TOKEN configured in my GitHub Actions. This commit prevents the release workflow from running in GitHub Actions of forks.
1 parent bacebf4 commit 084eed3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88
jobs:
99
release:
1010
name: Release
11+
if: github.repository_owner == 'BitGo'
1112
runs-on: ubuntu-latest
1213

1314
steps:

0 commit comments

Comments
 (0)