From 084eed33c93a286815102f4a822c1c1339afe0d2 Mon Sep 17 00:00:00 2001 From: Eric Crosson Date: Fri, 13 May 2022 10:09:34 -0500 Subject: [PATCH] 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. --- .github/workflows/release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8885501f..8557c993 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,6 +8,7 @@ on: jobs: release: name: Release + if: github.repository_owner == 'BitGo' runs-on: ubuntu-latest steps: