Skip to content

Commit

Permalink
fix(build): only run once on PR from same repo
Browse files Browse the repository at this point in the history
  • Loading branch information
Silthus committed Jun 25, 2020
1 parent 9309ed0 commit 4df7f57
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/gradle.yml
Expand Up @@ -4,6 +4,10 @@ jobs:
build:

runs-on: ubuntu-18.04
# We want to run on external PRs, but not on our own internal PRs as they'll be run
# by the push to the branch.
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository


steps:
- name: Set up JDK 8
Expand Down

0 comments on commit 4df7f57

Please sign in to comment.