| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
…ges are available
|
|
||
| uses: ./.github/workflows/prepare-release.yml | ||
|
|
||
| rollback: |
There was a problem hiding this comment.
We'll soon be needing to release CodeQL Action v4 to run on Node 24. I think the backport automation in update-release-branch.yml would create necessary backport releases, but I think we might want a way to more quickly rollback a change across all active release branches (without waiting for the full set of PR checks). Perhaps it makes sense to matrix this job across all active release branches?
Sorry, something went wrong.
There was a problem hiding this comment.
I'd propose doing this in a follow-up PR once we have the basic version of this workflow working.
Sorry, something went wrong.
| run: | | ||
| git push origin --atomic --force refs/tags/"${RELEASE_TAG}" refs/tags/"${MAJOR_VERSION_TAG}" | ||
|
|
||
| - name: Prepare partial Changelog |
There was a problem hiding this comment.
I think it could be clearer what we mean here by "partial changelog". It's still not fully clear, but we could call it "release description" for instance?
Sorry, something went wrong.
There was a problem hiding this comment.
I used the existing terminology for this from the release workflow. Happy to change this to something else here, but we should probably update it there then as well to be consistent.
Sorry, something went wrong.
| on: | ||
| # You can trigger this workflow via workflow dispatch to start a rollback. | ||
| # This will create a draft release that mirrors the release for `rollback-tag`. | ||
| workflow_dispatch: |
There was a problem hiding this comment.
I assume this is intended to be triggered on main?
Sorry, something went wrong.
There was a problem hiding this comment.
Yeah, that's the intention. I think it could probably work if triggered from a different branch, but I haven't verified that.
Sorry, something went wrong.
| uses: ./.github/actions/prepare-mergeback-branch | ||
| with: | ||
| base: "main" | ||
| head: "" |
There was a problem hiding this comment.
Why is this blank?
Sorry, something went wrong.
There was a problem hiding this comment.
The prepare-mergeback-branch action only uses it as part of the mergeback PR title, where it is typically something like refs/heads/releases/v3. That didn't make sense here, because we are not touching the v3 branch.
Sorry, something went wrong.
Co-authored-by: Henry Mercer <henrymercer@github.com>
There was a problem hiding this comment.
Nice work, thanks for the detailed testing!
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
This PR adds a new workflow that can be manually triggered to create a rollback release. I.e. the workflow creates a new release which mirrors an older, previous release. Since we publish immutable releases, this is necessary to "revert" a broken release.
The process is:
Once the process has completed:
This is best reviewed commit-by-commit.
Risk assessment
For internal use only. Please select the risk level of this change:
Merge / deployment checklist