Update CI workflows to run on PR for integration
Signed-off-by: Martijn van der Kleijn <martijn.niji@gmail.com>
This commit is contained in:
parent
c686623cee
commit
8cd818c535
3 changed files with 9 additions and 1 deletions
|
@ -6,6 +6,9 @@ when:
|
||||||
event: push
|
event: push
|
||||||
path:
|
path:
|
||||||
exclude: ['*.md', 'docs/**']
|
exclude: ['*.md', 'docs/**']
|
||||||
|
- event: [pull_request]
|
||||||
|
path:
|
||||||
|
exclude: ['*.md', 'docs/**']
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build
|
- name: build
|
||||||
|
|
|
@ -6,6 +6,9 @@ when:
|
||||||
event: push
|
event: push
|
||||||
path:
|
path:
|
||||||
exclude: ['*.md', 'docs/**']
|
exclude: ['*.md', 'docs/**']
|
||||||
|
- event: [pull_request]
|
||||||
|
path:
|
||||||
|
exclude: ['*.md', 'docs/**']
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: verify_connection
|
- name: verify_connection
|
||||||
|
|
|
@ -2,7 +2,9 @@ variables:
|
||||||
- &golang_image 'golang:1.22'
|
- &golang_image 'golang:1.22'
|
||||||
|
|
||||||
when:
|
when:
|
||||||
- event: [push, pull_request, manual]
|
- branch: main
|
||||||
|
event: push
|
||||||
|
- event: [pull_request, manual]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: vendor
|
- name: vendor
|
||||||
|
|
Loading…
Reference in a new issue