From 7c85472dc8e5ba68ebba6f020812cb536cc11b71 Mon Sep 17 00:00:00 2001 From: Zak Burke Date: Fri, 11 Oct 2024 13:20:08 -0400 Subject: [PATCH] STCOM-1357 GA: omit publishing MD (#2366) There is no module descriptor here. Additionally, make this workflow conditional to avoid running twice when GA logs multiple events for the same action when opening a new PR. Refs STCOM-1357, STRIPES-938 --- .github/workflows/ui.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ui.yml b/.github/workflows/ui.yml index 5ffe1eb9c..f86691061 100644 --- a/.github/workflows/ui.yml +++ b/.github/workflows/ui.yml @@ -7,9 +7,13 @@ on: jobs: ui: uses: folio-org/.github/.github/workflows/ui.yml@v1.5 + if: github.ref_name == github.event.repository.default_branch || github.event_name != 'push' || github.ref_type == 'tag' secrets: inherit with: jest-enabled: false bigtest-enabled: true bigtest-test-command: xvfb-run --server-args="-screen 0 1024x768x24" yarn test $YARN_TEST_OPTIONS --karma.singleRun --karma.browsers ChromeDocker --karma.reporters mocha junit --coverage sonar-sources: ./hooks,./lib,./util + generate-module-descriptor: false + publish-module-descriptor: false +