Done
Details
Details
Assignee
Dmytro Melnyshyn
Dmytro MelnyshynReporter
Zak Burke
Zak BurkePriority
Story Points
0.5
Sprint
None
Development Team
Spitfire
Fix versions
Release
Ramsons (R2 2024)
TestRail: Cases
Open TestRail: Cases
TestRail: Runs
Open TestRail: Runs
Created September 16, 2024 at 12:28 PM
Updated November 25, 2024 at 3:48 PM
Resolved October 16, 2024 at 6:42 AM
Summary: Use shared workflow templates from
folio-org/.github
instead of local copies.Details: Loosely copying the shared workflow repo’s excellent UI README, which contains additional configuration options:
Open a PR that replaces the
.github/workflows/build-npm.yml
and.github/workflows/build-npm-release.yml
files with a single file,.github/workflows/ui.yml
with the following content:name: Centralized workflow on: - push - pull_request - workflow_dispatch jobs: ui: # Use the shared workflow from https://github.com/folio-org/.github uses: folio-org/.github/.github/workflows/ui.yml@v1 # 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
In the PR body, tag members of the infrastructure-frontend team who have the necessary GH privileges to change the PR merge requirements. They will turn off the steps from the old workflows and turn on those from the new workflows.
Merge the PR.
Profit!!!