5 Commits

Author SHA1 Message Date
Zack Tanner e69de2ffaf [ci]: app-based release workflow (#93245)
Moves all release workflows off of a GH PAT and uses an app with a
short-lived token instead.

Test Plan:
Dry run
[here](https://github.com/vercel/next.js/actions/runs/24934593874).

However, this workflow is blocked until we figure out commit signing for
the bot app. Some options:
- The bot account generates a signing key and we use it in CI (not
great, bypasses the app)
- The org bypasses signature verification for the bot user (also not
great, requires an exemption rule)
- We need to rework the commit step so Lerna does not do the push, and
instead trigger it via the app + GH API. This seems like the best
option, will be added in a follow-up PR.

Note: `create-release-branch` workflow is broken in its current form, as
we will not be restoring administrator privileges to adjust environment
settings. This will become a manual step in the future.
2026-04-27 07:55:43 -07:00
JJ Kasper 527a238d7a Ensure tags are fetched for release branch (#83012)
Follow-up to https://github.com/vercel/next.js/pull/83006 this ensures
we actually pull the tag refs otherwise we can't reset to them.

Verified here:
https://github.com/vercel/next.js/actions/runs/17217751382
2025-08-25 11:50:38 -07:00
JJ Kasper 101d2d2abe Fetch tag before reset for create-release-branch (#83006) 2025-08-25 16:53:53 +00:00
JJ Kasper 7da8776427 Update create-release-branch to disable test-new-tests (#82182)
This updates to disable the `test-new-tests-` jobs for release branches
as they have a lot of diffs and can stall CI heavily un-necessarily.
2025-07-29 15:56:47 -07:00
JJ Kasper e210360bb9 Add create release branch workflow (#81687)
This creates a new workflow to create a release branch and apply the
necessary configs to allow releasing from that branch as this is quite
common for backports.
2025-07-15 14:55:42 -07:00