ci: scope MetaMaskBot tokens to environments (INFRA-3334)#40533
Merged
ci: scope MetaMaskBot tokens to environments (INFRA-3334)#40533
Conversation
Migrate CI workflows to scoped environments so unscoped MetaMaskBot write tokens can be removed from the repo-level, unblocking INFRA-3247. - trigger-regression-validation: release-branch → release-ci - merge-previous-release-branches: add environment release-ci - merge-my-pr: add environment default-branch - page-load-benchmark: add conditional environment default-branch Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Contributor
Builds ready [08c07d3]
⚡ Performance Benchmarks
🌐 Dapp Page Load BenchmarksCurrent Commit: 📄 Localhost MetaMask Test DappSamples: 100 Summary
📈 Detailed Results
Bundle size diffs
|
Contributor
|
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
Contributor
Builds ready [026c3b5]
⚡ Performance Benchmarks
🌐 Dapp Page Load BenchmarksCurrent Commit: 📄 Localhost MetaMask Test DappSamples: 100 Summary
📈 Detailed Results
Bundle size diffs
|
|
Contributor
Builds ready [f2fc0dd]
⚡ Performance Benchmarks
🌐 Dapp Page Load BenchmarksCurrent Commit: 📄 Localhost MetaMask Test DappSamples: 100 Summary
📈 Detailed Results
Bundle size diffs
|
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.



Description
Scope MetaMaskBot write tokens to environments (INFRA-3334):
trigger-regression-validationfromrelease-branch→release-cienvironmentenvironment: release-citomerge-previous-release-branchesenvironment: default-branchtomerge-my-prenvironment: default-branchtopage-load-benchmark(same pattern asbuild-storybook.yml)This scopes MetaMaskBot write tokens (
METAMASK_REGRESSION_TRIGGER_TEST,METAMASK_EXTENSION_BRANCH_SYNC_TOKEN,EXTENSION_BENCHMARK_STATS_TOKEN) to specific environments instead of being repo-level, unblocking INFRA-3247 (addingrequired_reviewerstorelease-branch).Depends on: Patroll PR #64 must merge first to provision secrets to
release-cianddefault-branchenvironments.Changelog
CHANGELOG entry: null
Related issues
Fixes: INFRA-3334
Manual testing steps
release-cianddefault-branch)release/*branch →trigger-regression-validationruns withrelease-cienvironmentmerge-previous-release-branchesruns withrelease-cienvironmentmerge-my-prruns withdefault-branchenvironmentmain→ benchmark stats upload and storybook deploy still workScreenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist