Only run workflows on main repo (#76634)

This commit is contained in:
Eric Knibbe 2020-02-06 12:43:50 -05:00 committed by GitHub
parent 93b8c186c3
commit 2998d3be46
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -8,6 +8,7 @@ on:
jobs:
automerge:
if: startsWith( github.repository, 'Homebrew/' )
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master

View File

@ -7,6 +7,7 @@ on:
jobs:
sync_templates_and_ci_config:
if: startsWith( github.repository, 'Homebrew/' )
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master