- Fixed release-edit-with-push.yml failing when there is no release PR
- Removed unnecessary secrets (RULESET_...)
Release Manager Actions v2 is a release support workflow based on the develop-stable branches system. It is incompatible with v1.
Migration is deprecated because it is so different from v1, but if it is necessary, do the following:
- Create a stable branch and register its name as a
STABLE_BRANCH
variable. - Since ruleset management is no longer needed, remove
RULESET_EDIT_APP_PRIVATE_KEY
,RULESET_ID_WITHIN_RELEASE
, andRULESET_ID_OUT_OF_RELEASE
. Also, the rulesets used in v1 should be deleted. - Grant
Repository - Pull request - Read and Write
permission to the GitHub App foron: release
. If you don't have it, please create it.
In theInstall App
tab, select org or user right ⚙️ and go to the App installation management screen, where you will see(app) is requesting an update to its permissions. [Review Request]
. SelectReview Request
and on the next screen selectAccept new permissions
. - Create a ruleset to protect the stable branch according to README.md.
- Override the three release manager workflows.
Set line 6 ofrelease-edit-with-push.yml
to the name of the develop branch (the default branch in your repository).
The copied actions need to be replaced like following:
- release-edit-with-push.yml
https://github.com/misskey-dev/release-manager-actions/commit/c9287a3b002a6b6a765bdfcbe4597f88f581bafc#diff-e203de9569f7e3142efd374c0dca7e88b6d3fa704c51dd02d55b0a2d3810f6de - release-with-ready.yml https://github.com/misskey-dev/release-manager-actions/commit/c9287a3b002a6b6a765bdfcbe4597f88f581bafc#diff-72b079e73412ba22b09f29c84b4205de9370875dc1aa56f9b27a7797941e578e
- Eliminated the possibility of code execution and token theft via external input
The copied actions need to be replaced by the rewritten actions like this: https://github.com/misskey-dev/misskey/commit/f5d57c02c7edbf71c4f2eaff789dfd093513027d .
- The
INDENT
variable allows selection of the indentation format ofpackage.json
.
- Fix: Creating Pre-release always creates rc
- Fix: release-with-ready not creating releases in external apps
- Make it possible to specify the app when creating a release, so that the
on: release
workflow can be triggered.
- The first release