mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-01 11:08:10 +00:00
build: don't build artifacts on UI only changes (#25389)
Signed-off-by: Ryan Cragun <me@ryan.ec>
This commit is contained in:
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@@ -196,12 +196,10 @@ jobs:
|
|||||||
# # Trigger the setup workflow if any of the following conditions are true:
|
# # 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 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 Go app was changed.
|
||||||
|
# * The build/all label is present on a pull request or push.
|
||||||
if: |
|
if: |
|
||||||
needs.setup.outputs.workflow-trigger == 'schedule' ||
|
needs.setup.outputs.workflow-trigger == 'schedule' ||
|
||||||
needs.setup.outputs.ui-changed == 'true' ||
|
|
||||||
needs.setup.outputs.app-changed == 'true' ||
|
needs.setup.outputs.app-changed == 'true' ||
|
||||||
contains(fromJSON(needs.setup.outputs.labels), 'build/all')
|
contains(fromJSON(needs.setup.outputs.labels), 'build/all')
|
||||||
needs:
|
needs:
|
||||||
|
|||||||
Reference in New Issue
Block a user