Don't run certain GHA jobs on forks

Don't run jobs that aren't triggered on pull request on forks.
Forks aren't likely to need these jobs, and theyre more likely to fail
there.

Signed-off-by: Mike Kolesnik <mkolesni@redhat.com>
This commit is contained in:
Mike Kolesnik authored and Thomas Pantelis committed 2021-05-12 07:35:11 -04:00
1 parent f0a0ae93bf
commit 6f94f29563
3 files changed
+3

No files matched your search

+1
View File
@@ -9,6 +9,7 @@ on:
jobs:
release:
name: Release
if: github.repository_owner == 'submariner-io'
runs-on: ubuntu-latest
steps:
- name: Checkout