Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Commit

Permalink
Run on PRs where head does not equal base.
Browse files Browse the repository at this point in the history
  • Loading branch information
scottarnette committed Jan 8, 2020
1 parent eed97d5 commit da838ec
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Pull Request
on: [push]
on: [pull_request]

jobs:
start-job:
Expand All @@ -11,7 +11,7 @@ jobs:


amazon_linux-2-build:
if: github.event.pull_request.base.repo.id == github.event.pull_request.head.repo.id
if: github.event.pull_request.base.repo.id != github.event.pull_request.head.repo.id
name: Amazon_Linux 2 | Build
runs-on: ubuntu-latest
needs: start-job
Expand Down Expand Up @@ -95,7 +95,7 @@ jobs:


centos-77-build:
if: github.event.pull_request.base.repo.id == github.event.pull_request.head.repo.id
if: github.event.pull_request.base.repo.id != github.event.pull_request.head.repo.id
name: CentOS 7.7 | Build
runs-on: ubuntu-latest
needs: start-job
Expand Down Expand Up @@ -179,7 +179,7 @@ jobs:


ubuntu-1604-build:
if: github.event.pull_request.base.repo.id == github.event.pull_request.head.repo.id
if: github.event.pull_request.base.repo.id != github.event.pull_request.head.repo.id
name: Ubuntu 16.04 | Build
runs-on: ubuntu-latest
needs: start-job
Expand Down Expand Up @@ -263,7 +263,7 @@ jobs:


ubuntu-1804-build:
if: github.event.pull_request.base.repo.id == github.event.pull_request.head.repo.id
if: github.event.pull_request.base.repo.id != github.event.pull_request.head.repo.id
name: Ubuntu 18.04 | Build
runs-on: ubuntu-latest
needs: start-job
Expand Down Expand Up @@ -347,7 +347,7 @@ jobs:


macos-1015-build:
if: github.event.pull_request.base.repo.id == github.event.pull_request.head.repo.id
if: github.event.pull_request.base.repo.id != github.event.pull_request.head.repo.id
name: MacOS 10.15 | Build
runs-on: macos-latest
needs: start-job
Expand Down

0 comments on commit da838ec

Please sign in to comment.