From 89047901b364c308321aede5a88e50059e7ebbfb Mon Sep 17 00:00:00 2001 From: Eric Ernst Date: Tue, 1 Feb 2022 13:51:45 -0800 Subject: [PATCH] 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 --- .github/workflows/kata-deploy-push.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/kata-deploy-push.yaml b/.github/workflows/kata-deploy-push.yaml index 0de874930..52fde686d 100644 --- a/.github/workflows/kata-deploy-push.yaml +++ b/.github/workflows/kata-deploy-push.yaml @@ -9,7 +9,9 @@ on: - synchronize - labeled - unlabeled - push: + paths: + - tools/** + - versions.yaml jobs: build-asset: