Skip checks for same-repo pulls
They are already made by pushing, so there is no need in duplicating them.
This commit is contained in:
parent
e2591b7466
commit
7cb4bfaa4f
5 changed files with 25 additions and 5 deletions
6
.github/workflows/appimage.yml
vendored
6
.github/workflows/appimage.yml
vendored
|
|
@ -52,7 +52,11 @@ jobs:
|
||||||
|
|
||||||
linux:
|
linux:
|
||||||
name: Ubuntu 14.04
|
name: Ubuntu 14.04
|
||||||
if: "github.event_name != 'push' || !contains(github.event.head_commit.message, '[skip ci]')"
|
if: >
|
||||||
|
!(github.event_name == 'push'
|
||||||
|
&& contains(github.event.head_commit.message, '[skip ci]'))
|
||||||
|
&& !(github.event_name == 'pull_request'
|
||||||
|
&& github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name)
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
image: ubuntu:trusty
|
image: ubuntu:trusty
|
||||||
|
|
|
||||||
6
.github/workflows/linux.yml
vendored
6
.github/workflows/linux.yml
vendored
|
|
@ -48,7 +48,11 @@ jobs:
|
||||||
|
|
||||||
linux:
|
linux:
|
||||||
name: Ubuntu 14.04
|
name: Ubuntu 14.04
|
||||||
if: "github.event_name != 'push' || !contains(github.event.head_commit.message, '[skip ci]')"
|
if: >
|
||||||
|
!(github.event_name == 'push'
|
||||||
|
&& contains(github.event.head_commit.message, '[skip ci]'))
|
||||||
|
&& !(github.event_name == 'pull_request'
|
||||||
|
&& github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name)
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: ubuntu:trusty
|
container: ubuntu:trusty
|
||||||
|
|
||||||
|
|
|
||||||
6
.github/workflows/mac.yml
vendored
6
.github/workflows/mac.yml
vendored
|
|
@ -46,7 +46,11 @@ jobs:
|
||||||
|
|
||||||
macos:
|
macos:
|
||||||
name: MacOS
|
name: MacOS
|
||||||
if: "github.event_name != 'push' || !contains(github.event.head_commit.message, '[skip ci]')"
|
if: >
|
||||||
|
!(github.event_name == 'push'
|
||||||
|
&& contains(github.event.head_commit.message, '[skip ci]'))
|
||||||
|
&& !(github.event_name == 'pull_request'
|
||||||
|
&& github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name)
|
||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
|
|
|
||||||
6
.github/workflows/snap.yml
vendored
6
.github/workflows/snap.yml
vendored
|
|
@ -46,7 +46,11 @@ jobs:
|
||||||
|
|
||||||
linux:
|
linux:
|
||||||
name: Ubuntu 18.04
|
name: Ubuntu 18.04
|
||||||
if: "github.event_name != 'push' || !contains(github.event.head_commit.message, '[skip ci]')"
|
if: >
|
||||||
|
!(github.event_name == 'push'
|
||||||
|
&& contains(github.event.head_commit.message, '[skip ci]'))
|
||||||
|
&& !(github.event_name == 'pull_request'
|
||||||
|
&& github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name)
|
||||||
runs-on: ubuntu-18.04
|
runs-on: ubuntu-18.04
|
||||||
|
|
||||||
env:
|
env:
|
||||||
|
|
|
||||||
6
.github/workflows/win.yml
vendored
6
.github/workflows/win.yml
vendored
|
|
@ -51,7 +51,11 @@ jobs:
|
||||||
|
|
||||||
windows:
|
windows:
|
||||||
name: Windows
|
name: Windows
|
||||||
if: "github.event_name != 'push' || !contains(github.event.head_commit.message, '[skip ci]')"
|
if: >
|
||||||
|
!(github.event_name == 'push'
|
||||||
|
&& contains(github.event.head_commit.message, '[skip ci]'))
|
||||||
|
&& !(github.event_name == 'pull_request'
|
||||||
|
&& github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name)
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue