From 79846a62d913b0196ba43fc1ca40498ee647a479 Mon Sep 17 00:00:00 2001 From: Zak Burke Date: Fri, 11 Oct 2024 13:26:49 -0400 Subject: [PATCH] STFORM-46 GA: omit publishing MD 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 STFORM-46, STRIPES-938 --- .github/workflows/ui.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ui.yml b/.github/workflows/ui.yml index 6b2ac42..a9106c8 100644 --- a/.github/workflows/ui.yml +++ b/.github/workflows/ui.yml @@ -6,10 +6,13 @@ on: jobs: ui: - uses: folio-org/.github/.github/workflows/ui.yml@v1.1 + 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: true jest-test-command: yarn run test sonar-sources: ./lib + generate-module-descriptor: false + publish-module-descriptor: false