aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Sebastiaan Zeeff <[email protected]>2020-11-23 21:45:29 +0100
committerGravatar Sebastiaan Zeeff <[email protected]>2020-11-23 21:45:29 +0100
commit486a898d32693e0d5c35cd801e33d5dacbaa668e (patch)
tree30a8aa05b9e9a6c77eb4f4d37f13f16ee5f368f1
parentAdd a banner and fix the README a bit. (diff)
Narrow down repository events that trigger a build
I've narrowed down repository events that trigger a Build to the "push" event specifically. This means that we never build for a "pull request" trigger, even if the source branch is called "master".
-rw-r--r--.github/workflows/build.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
index 20449741..abc257f3 100644
--- a/.github/workflows/build.yaml
+++ b/.github/workflows/build.yaml
@@ -10,7 +10,7 @@ on:
jobs:
build:
- if: github.event.workflow_run.conclusion == 'success'
+ if: github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.event == 'push'
name: Build, Push, & Deploy Container
runs-on: ubuntu-latest