Skip to content

ci: refactor workflows for release branching - #1520

Merged
jescalada merged 16 commits into
finos:mainfrom
jescalada:1517-refactor-workflows-for-release-branching
Jul 28, 2026
Merged

ci: refactor workflows for release branching#1520
jescalada merged 16 commits into
finos:mainfrom
jescalada:1517-refactor-workflows-for-release-branching

Conversation

@jescalada

Copy link
Copy Markdown
Contributor

Closes #1517.

This refactors the release drafting and NPM publisher automation to work with release branches, as described in #1516. I've already updated #1516 with a step-by-step guide and a troubleshooting section based on my own testing.

Although it's a bit of a mess, I've replicated the release process in my git-proxy fork:

@jescalada
jescalada requested a review from a team as a code owner May 6, 2026 03:06
@netlify

netlify Bot commented May 6, 2026

Copy link
Copy Markdown

Deploy Preview for endearing-brigadeiros-63f9d0 ready!

Name Link
🔨 Latest commit 7bc97c4
🔍 Latest deploy log https://app.netlify.com/projects/endearing-brigadeiros-63f9d0/deploys/6a67dc480cbb920008e5207e
😎 Deploy Preview https://deploy-preview-1520.git-proxy.preview.finos.org
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify

netlify Bot commented May 6, 2026

Copy link
Copy Markdown

Deploy Preview for endearing-brigadeiros-63f9d0 canceled.

Name Link
🔨 Latest commit 18a10be
🔍 Latest deploy log https://app.netlify.com/projects/endearing-brigadeiros-63f9d0/deploys/69fab03283da260008d54edd

@codecov

codecov Bot commented May 6, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.41%. Comparing base (8878b36) to head (7bc97c4).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1520   +/-   ##
=======================================
  Coverage   90.41%   90.41%           
=======================================
  Files          87       87           
  Lines        8661     8661           
  Branches     1603     1603           
=======================================
  Hits         7831     7831           
  Misses        799      799           
  Partials       31       31           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@jescalada

Copy link
Copy Markdown
Contributor Author

@kriswest Would be great to merge this in as we prepare for the 2.1 release! I've already made the release/2.0 branch from the 2.0.0 bump PR. Since these CI workflow updates haven't been merged yet, nothing has executed when making the release/2.0 branch (which is fine, since we decided to do everything manually one last time).

@kriswest

Copy link
Copy Markdown
Contributor

@re-vlad could you look at this one

@re-vlad
re-vlad self-requested a review July 6, 2026 12:41

@re-vlad re-vlad left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Renaming .github/release-drafter.yml to .github/release-drafter-config.yml breaks the release-drafter job in pr-lint.yml: the with: block (lines 58–59) does not set config-name, so the action still looks for the default .github/release-drafter.yml and will likely fail at runtime (with message: "config file not found").

@re-vlad re-vlad left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The job also keeps updating a draft release on main (commitish: main), which conflicts with the GitLabFlow model where drafts are created per release/* branch by the new .github/workflows/release-drafter.yml workflow. Autolabeling is now handled by auto-label.yml (.github/workflows/auto-label.yml), so this job looks redundant.

Suggested fix: remove the release-drafter job from pr-lint.yml and add edited to auto-label.yml pull_request_target.types

@re-vlad re-vlad self-assigned this Jul 7, 2026
@jescalada

jescalada commented Jul 13, 2026

Copy link
Copy Markdown
Contributor Author

@re-vlad Thanks for the review! I forgot to remove the old release-drafter step from pr-lint.yml in this PR (I had already moved it into release-drafter.yml).

The point of pr-lint.yml is to just lint the PR title; and the new release-drafter.yml does exactly what the filename implies: drafting a release, rather than just being a template. The actual template/configuration is now appropriately named release-drafter-config.yml.

I think both of your comments stem from that oversight of mine.

Note that in my release tests, the updated file is being used, that's why I didn't see any related failures when making PRs or releases.

@jescalada
jescalada requested a review from re-vlad July 13, 2026 02:19
@jescalada

Copy link
Copy Markdown
Contributor Author

@kriswest Ready for a final check!

@jescalada

Copy link
Copy Markdown
Contributor Author

@finos/git-proxy-maintainers Just need this merged to kick off the 2.1 release 🙂

@andypols andypols left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - but think it's a good idea to add the filter-by-commitish setting.

Comment thread .github/workflows/release-drafter.yml
@jescalada
jescalada requested a review from andypols July 22, 2026 07:42
@jescalada

Copy link
Copy Markdown
Contributor Author

@andypols Pardon the late update on this - should be good to go now!

Signed-off-by: Juan Escalada <97265671+jescalada@users.noreply.github.com>

@andypols andypols left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jescalada
jescalada merged commit 027172e into finos:main Jul 28, 2026
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tweak workflow files to work with GitLabFlow branching

4 participants