Skip to content

chore: setup 5.x auto release#3111

Closed
mweberxyz wants to merge 1 commit into
nodejs:v5.xfrom
mweberxyz:5.x-auto-release
Closed

chore: setup 5.x auto release#3111
mweberxyz wants to merge 1 commit into
nodejs:v5.xfrom
mweberxyz:5.x-auto-release

Conversation

@mweberxyz

@mweberxyz mweberxyz commented Apr 13, 2024

Copy link
Copy Markdown
Contributor

See #3110 for details. Both should merge at the same time.

This relates to...

#3103

Rationale

Add 5.x specific deployment logic to v5.x branch

Changes

Backport release workflow and release script from main, ensure change logs are generated against previous 5.x release, ensure tag on npm publish is five, and remove publish-undici-types workflow (now taken care of during release workflow)

Notes

Assuming the release environment is set to Protected branches only, branch protection rules must be added for v5.x branch, as this change will enable automated release on push.

Alternatively (for added security) -- the release environment should be limited to exactly the main or v5.x branch, in addition to adding branch protection rules to v5.x.

If the following protections are added:
CleanShot 2024-04-13 at 11 13 25@2x

Then this is what a malicious branch and workflow run would look like, with the release blocked:
https://github.com/mweberxyz/nodejs-undici/commits/malicious/
https://github.com/mweberxyz/nodejs-undici/actions/runs/8674454300

Status

@mweberxyz mweberxyz marked this pull request as draft April 22, 2024 16:33
@trivikr

trivikr commented May 3, 2026

Copy link
Copy Markdown
Member

Closing this PR since 5.x has been end-of-life since 2024-04-30

@trivikr trivikr closed this May 3, 2026
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.

2 participants