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:
Martijn van der Kleijn 2024-06-16 00:10:32 +02:00
parent c686623cee
commit 8cd818c535
3 changed files with 9 additions and 1 deletions

View file

@ -6,6 +6,9 @@ when:
event: push
path:
exclude: ['*.md', 'docs/**']
- event: [pull_request]
path:
exclude: ['*.md', 'docs/**']
steps:
- name: build

View file

@ -6,6 +6,9 @@ when:
event: push
path:
exclude: ['*.md', 'docs/**']
- event: [pull_request]
path:
exclude: ['*.md', 'docs/**']
steps:
- name: verify_connection

View file

@ -2,7 +2,9 @@ variables:
- &golang_image 'golang:1.22'
when:
- event: [push, pull_request, manual]
- branch: main
event: push
- event: [pull_request, manual]
steps:
- name: vendor