Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
The Tor Project
Applications
fenix
Commits
1989d20f
Unverified
Commit
1989d20f
authored
Feb 19, 2021
by
sarentz
Committed by
GitHub
Feb 19, 2021
Browse files
Only run the build-contributor-pr workflow on forks (#18082)
parent
a2566f9e
Changes
1
Hide whitespace changes
Inline
Side-by-side
.github/workflows/build-contributor-pr.yml
View file @
1989d20f
...
@@ -3,7 +3,7 @@ on: [pull_request]
...
@@ -3,7 +3,7 @@ on: [pull_request]
jobs
:
jobs
:
run-build
:
run-build
:
runs-on
:
ubuntu-20.04
runs-on
:
ubuntu-20.04
if
:
github.
repository != 'mozilla-mobile/fenix'
if
:
github.
event.pull_request.head.repo.full_name != github.repository
steps
:
steps
:
-
name
:
Checkout repository
-
name
:
Checkout repository
uses
:
actions/checkout@v2
uses
:
actions/checkout@v2
...
@@ -21,7 +21,7 @@ jobs:
...
@@ -21,7 +21,7 @@ jobs:
run-testDebugUnitTest
:
run-testDebugUnitTest
:
runs-on
:
ubuntu-20.04
runs-on
:
ubuntu-20.04
if
:
github.
repository != 'mozilla-mobile/fenix'
if
:
github.
event.pull_request.head.repo.full_name != github.repository
steps
:
steps
:
-
name
:
Checkout repository
-
name
:
Checkout repository
uses
:
actions/checkout@v2
uses
:
actions/checkout@v2
...
@@ -39,7 +39,7 @@ jobs:
...
@@ -39,7 +39,7 @@ jobs:
run-detekt
:
run-detekt
:
runs-on
:
ubuntu-20.04
runs-on
:
ubuntu-20.04
if
:
github.
repository != 'mozilla-mobile/fenix'
if
:
github.
event.pull_request.head.repo.full_name != github.repository
steps
:
steps
:
-
name
:
Checkout repository
-
name
:
Checkout repository
uses
:
actions/checkout@v2
uses
:
actions/checkout@v2
...
@@ -62,7 +62,7 @@ jobs:
...
@@ -62,7 +62,7 @@ jobs:
run-ktlint
:
run-ktlint
:
runs-on
:
ubuntu-20.04
runs-on
:
ubuntu-20.04
if
:
github.
repository != 'mozilla-mobile/fenix'
if
:
github.
event.pull_request.head.repo.full_name != github.repository
steps
:
steps
:
-
name
:
Checkout repository
-
name
:
Checkout repository
uses
:
actions/checkout@v2
uses
:
actions/checkout@v2
...
@@ -80,7 +80,7 @@ jobs:
...
@@ -80,7 +80,7 @@ jobs:
run-lintDebug
:
run-lintDebug
:
runs-on
:
ubuntu-20.04
runs-on
:
ubuntu-20.04
if
:
github.
repository != 'mozilla-mobile/fenix'
if
:
github.
event.pull_request.head.repo.full_name != github.repository
steps
:
steps
:
-
name
:
Checkout repository
-
name
:
Checkout repository
uses
:
actions/checkout@v2
uses
:
actions/checkout@v2
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment