Skip to content

Commit

Permalink
STTYPES-12 build on "tag" events (#69)
Browse files Browse the repository at this point in the history
Releases are handled by pushing a tag, but the previous action only
built on PR events. Whoops!

Refs STTYPES-12

(cherry picked from commit 85e6314)
  • Loading branch information
zburke committed Oct 29, 2024
1 parent df93d2b commit 67f2d41
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ on:
jobs:
ui:
uses: folio-org/.github/.github/workflows/ui.yml@v1
if: github.ref_name == github.event.repository.default_branch || github.event_name != 'push'
# Only handle push events from the main branch or tags, to decrease PR noise
if: github.ref_name == github.event.repository.default_branch || github.event_name != 'push' || github.ref_type == 'tag'
secrets: inherit
with:
# tsc instead of jest, but easiest to run it in the same manner
Expand Down

0 comments on commit 67f2d41

Please sign in to comment.