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:
ximon18
2020-07-02 16:31:29 +02:00
committed by GitHub
parent 47b7f4a93c
commit 29e8bf22e4
+4
View File
@@ -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'