Skip to content

Commit

Permalink
chore(gha): don't run the GHA build when pushing to a fork (spinnaker…
Browse files Browse the repository at this point in the history
  • Loading branch information
plumpy authored and opsmxyuga22 committed Sep 15, 2020
1 parent 3992867 commit 8f59349
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8f59349

Please sign in to comment.