mirror of
https://github.com/charles-lunarg/vk-bootstrap.git
synced 2024-11-21 15:04:35 +00:00
Don't run ci twice on PR's
Prevents ci from being run on branches that have a PR created for them. This doesn't prevent ci from running on PR's from forks.
This commit is contained in:
parent
7fcd5d04c4
commit
9e826bbf2b
5
.github/workflows/ci_build.yml
vendored
5
.github/workflows/ci_build.yml
vendored
@ -18,12 +18,13 @@
|
||||
|
||||
name: CI Build
|
||||
|
||||
on: [push, pull_request, workflow_dispatch]
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
linux:
|
||||
name: Linux
|
||||
runs-on: ubuntu-latest
|
||||
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
@ -64,7 +65,7 @@ jobs:
|
||||
windows:
|
||||
name: Windows
|
||||
runs-on: windows-latest
|
||||
|
||||
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
|
||||
strategy:
|
||||
matrix:
|
||||
arch: [ Win32, x64 ]
|
||||
|
Loading…
Reference in New Issue
Block a user