MetaMask / MetaMask/core

Prevent release workflow from being run if the PR for a previous release has not been merged yet

Open
#5,660 0 comments 0 reactions 0 assignees View on GitHub
team-wallet-framework wf-release-process
Dominant language
TypeScript
Stars
413
Forks
308
Avg merge
1d 4h
Merged PRs (30d)
253

Description

If multiple release PRs are created and one of them is merged out of order, the resulting workflow may complete successfully, but then an attempt to run the workflow for the previous release PRs may fail.

We should prevent this from happening. We can do this by:

- Preventing a release workflow from running if the root package version is being bumped by more than 1
- Preventing a release PR from being merged if any PRs for previous releases are open

Contributor guide

No contributing guide indexed for this repository

Research direction

No files, tests, or workflow entry points are named in the issue, so start by locating the release workflow and the checks that create or merge release PRs. Done means out-of-order release workflows cannot run and a release PR cannot merge while earlier release PRs remain open; add tests or validation for both cases.

Written by the indexing model from the issue text.

Assessment

Domain
ci-cd, release
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.