From 7257ea3136d0eae7ec50cf22d94fb7924992d9ca Mon Sep 17 00:00:00 2001 From: Shawn Wilsher Date: Fri, 6 Oct 2023 20:30:22 -0700 Subject: [PATCH] only build usb image for pull requests and on master when relevant files change --- .github/workflows/usb-image.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/usb-image.yml b/.github/workflows/usb-image.yml index aea1c7d6..38dd9f33 100644 --- a/.github/workflows/usb-image.yml +++ b/.github/workflows/usb-image.yml @@ -6,10 +6,14 @@ on: # yamllint disable-line rule:truthy branches: - main paths: + - .github/workflows/usb-image.yml - images/usb-image/** pull_request: branches: - main + paths: + - .github/workflows/usb-image.yml + - images/usb-image/** jobs: build-container: