refactor!: Migrate release management workflows to actions#166
Merged
Conversation
Mrtenz
commented
Nov 21, 2025
Comment on lines
+17
to
+24
| github-tools-repository: | ||
| description: 'The GitHub repository containing the GitHub tools. Defaults to the GitHub tools action repositor, and usually does not need to be changed.' | ||
| required: false | ||
| default: ${{ github.action_repository }} | ||
| github-tools-ref: | ||
| description: 'The SHA of the action to use. Defaults to the current action ref, and usually does not need to be changed.' | ||
| required: false | ||
| default: ${{ github.action_ref }} |
Member
Author
There was a problem hiding this comment.
I added this in all actions that need to checkout github-tools so we can avoid setting it in a separate step below. The problem is that github.action_repository and github.action_ref always resolve in the context of the current action. So for example, the following action:
- name: Print GitHub action info
env:
ACTION_REPOSITORY: ${{ github.action_repository }}
ACTION_REF: ${{ github.action_ref }}
run: |
echo "ACTION_REPOSITORY: $ACTION_REPOSITORY"
echo "ACTION_REF: $ACTION_REF"
shell: bashMay print something like this:
ACTION_REPOSITORY: MetaMask/github-tools
ACTION_REF: dd2d882d8cdc94e9d3d55636df05cb22de63f633
But if we use github.action_repository and github.action_ref directly in actions/checkout like this:
- name: Checkout GitHub tools repository
uses: actions/checkout@v5
with:
repository: ${{ github.action_repository }}
ref: ${{ github.action_ref }}
path: ./github-toolsIt will check out the actions/checkout repository itself...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This migrates all release management workflows to actions.
Note
Replaces reusable workflows with composite actions for release management and adds a test workflow for release timelines.
/.github/actions/:get-release-timelines: pulls Runway timelines and uploadsrelease-timelines-<version>.csv.post-gh-rca: posts RCA Google Form link on labeled issues and addsRCA-needed.publish-slack-release-testing-status: publishes testing status to Slack from a Google Doc.remove-rca-needed-label-sheets: removesRCA-neededbased on Google Sheets data.update-release-changelog: updates changelog on a specified release branch usinggithub-toolsscripts./.github/workflows/for the above tasks.test-get-release-timelines.ymlto exercise the newget-release-timelinesaction.Written by Cursor Bugbot for commit 244db46. This will update automatically on new commits. Configure here.