build: don't build artifacts on UI only changes (#25389)

Signed-off-by: Ryan Cragun <me@ryan.ec>
This commit is contained in:
Ryan Cragun
2024-02-13 14:44:18 -07:00
committed by GitHub
parent 267e06d94e
commit f19a04b4b5

View File

@@ -196,12 +196,10 @@ jobs:
# # Trigger the setup workflow if any of the following conditions are true:
#
# * The workflow was triggered by on schedule to test building all artifacts.
# * The build/all label is present on a pull request or push.
# * The UI was changed.
# * The Go app was changed.
# * The build/all label is present on a pull request or push.
if: |
needs.setup.outputs.workflow-trigger == 'schedule' ||
needs.setup.outputs.ui-changed == 'true' ||
needs.setup.outputs.app-changed == 'true' ||
contains(fromJSON(needs.setup.outputs.labels), 'build/all')
needs: