chore(gha): don't run the GHA build when pushing to a fork
@@ -8,6 +8,8 @@ on:
jobs:
branch-build:
+ # Only run this on repositories in the 'spinnaker' org, not on forks.
+ if: startsWith(github.repository, 'spinnaker/')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
