From 938a610d2a2d899b9a94b5165d1983367c0ec0c9 Mon Sep 17 00:00:00 2001 From: Zak Burke Date: Fri, 25 Oct 2024 15:12:37 -0400 Subject: [PATCH] use current shared workflows for better snapshot version numbers * Bump to v1.5 to get correct snapshot version numbers * Avoid running actions twice on push (a push triggers 2 events, but we only need to run the actions once) --- .github/workflows/ui.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ui.yml b/.github/workflows/ui.yml index 7048dca2e..dbbaed346 100644 --- a/.github/workflows/ui.yml +++ b/.github/workflows/ui.yml @@ -6,7 +6,8 @@ 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