mirror of
https://github.com/NLnetLabs/krill.git
synced 2026-09-20 08:27:49 +02:00
Run ci workflow on branch or PR, not both
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
name: CI
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
paths-ignore:
|
||||
- '.dockerignore'
|
||||
- '.github/workflow/e2e.yml'
|
||||
@@ -15,6 +17,8 @@ on:
|
||||
- 'tests/e2e/**'
|
||||
# Hmm, annoying, do we really have to duplicate this?
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
paths-ignore:
|
||||
- '.dockerignore'
|
||||
- '.github/workflow/e2e.yml'
|
||||
@@ -43,4 +47,4 @@ jobs:
|
||||
with:
|
||||
rust-version: ${{ matrix.rust }}
|
||||
- run: cargo build --verbose
|
||||
- run: cargo test --verbose
|
||||
- run: cargo test --verbose
|
||||
|
||||
Reference in New Issue
Block a user