Unverified Commit 1989d20f authored by sarentz's avatar sarentz Committed by GitHub
Browse files

Only run the build-contributor-pr workflow on forks (#18082)

parent a2566f9e
......@@ -3,7 +3,7 @@ on: [pull_request]
jobs:
run-build:
runs-on: ubuntu-20.04
if: github.repository != 'mozilla-mobile/fenix'
if: github.event.pull_request.head.repo.full_name != github.repository
steps:
- name: Checkout repository
uses: actions/checkout@v2
......@@ -21,7 +21,7 @@ jobs:
run-testDebugUnitTest:
runs-on: ubuntu-20.04
if: github.repository != 'mozilla-mobile/fenix'
if: github.event.pull_request.head.repo.full_name != github.repository
steps:
- name: Checkout repository
uses: actions/checkout@v2
......@@ -39,7 +39,7 @@ jobs:
run-detekt:
runs-on: ubuntu-20.04
if: github.repository != 'mozilla-mobile/fenix'
if: github.event.pull_request.head.repo.full_name != github.repository
steps:
- name: Checkout repository
uses: actions/checkout@v2
......@@ -62,7 +62,7 @@ jobs:
run-ktlint:
runs-on: ubuntu-20.04
if: github.repository != 'mozilla-mobile/fenix'
if: github.event.pull_request.head.repo.full_name != github.repository
steps:
- name: Checkout repository
uses: actions/checkout@v2
......@@ -80,7 +80,7 @@ jobs:
run-lintDebug:
runs-on: ubuntu-20.04
if: github.repository != 'mozilla-mobile/fenix'
if: github.event.pull_request.head.repo.full_name != github.repository
steps:
- name: Checkout repository
uses: actions/checkout@v2
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment