Stop running GitHub Actions in forked repos

This commit is contained in:
Jon Siwek 2020-03-02 09:20:41 -08:00
parent 58ce0321b0
commit d43e3c13be
2 changed files with 3 additions and 0 deletions

View file

@ -4,6 +4,7 @@ on:
types: [completed] types: [completed]
jobs: jobs:
notify: notify:
if: github.repository == 'zeek/zeek'
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Send CI Email Notification - name: Send CI Email Notification

View file

@ -6,7 +6,9 @@ on:
jobs: jobs:
scan: scan:
if: github.repository == 'zeek/zeek'
runs-on: ubuntu-18.04 runs-on: ubuntu-18.04
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2