Skip to content

Commit

Permalink
STRWEB-117 use less strict shared-workflow dep
Browse files Browse the repository at this point in the history
* Change from `v1.1` to `v1`, which is the equivalent of migrating from
  `1.1` to `^1.0.0` to auto-include updates
* Add an if-condition to avoid running duplicate actions (pr and push
  are logged as separate events 🙄

Refs STRWEB-117
  • Loading branch information
zburke committed Oct 29, 2024
1 parent a216c30 commit dcabe42
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 @@ -6,7 +6,8 @@ on:

jobs:
ui:
uses: folio-org/.github/.github/workflows/[email protected]
uses: folio-org/.github/.github/workflows/ui.yml@v1
if: github.ref_name == github.event.repository.default_branch || github.event_name != 'push' || github.ref_type == 'tag'
secrets: inherit
with:
jest-enabled: true
Expand Down

0 comments on commit dcabe42

Please sign in to comment.