mirror of
https://github.com/NLnetLabs/krill.git
synced 2026-09-21 17:07:44 +02:00
Run pkg workflow on branch or PR, not both (#278)
See: https://github.community/t/how-to-trigger-an-action-on-push-or-pull-request-but-not-both/16662
This commit is contained in:
@@ -18,6 +18,8 @@
|
||||
name: Packaging
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
paths-ignore:
|
||||
- '.dockerignore'
|
||||
- '.github/workflow/pkg.yml'
|
||||
@@ -30,6 +32,8 @@ on:
|
||||
- 'tests/e2e/**'
|
||||
# Hmm, annoying, do we really have to duplicate this?
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
paths-ignore:
|
||||
- '.dockerignore'
|
||||
- '.github/workflow/pkg.yml'
|
||||
|
||||
Reference in New Issue
Block a user