kata-deploy-push: only run if PR modifying tools path

Since we are using this to exercise any changes to osbuilder or
packaging scripts, let's make sure that we only run the test in that
case.

Similarly, don't run for every single push. Just run this workflow for
pull requests.

Fixes: #3594

Signed-off-by: Eric Ernst <eric_ernst@apple.com>
This commit is contained in:
Eric Ernst 2022-02-01 13:51:45 -08:00
parent 24796d2f25
commit 89047901b3

View File

@ -9,7 +9,9 @@ on:
- synchronize - synchronize
- labeled - labeled
- unlabeled - unlabeled
push: paths:
- tools/**
- versions.yaml
jobs: jobs:
build-asset: build-asset: