forked from erda-project/erda
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
contribution: add doc for auto-cherry-pick (erda-project#482)
- Loading branch information
Showing
2 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Overview | ||
|
||
This document explains how cherry picks are managed on release branches within all erda-projects repositories. | ||
|
||
A common use case for cherry picks is backporting PRs from master to release branches. | ||
|
||
## Initiate a Cherry Pick | ||
|
||
- Open your **MERGED** PR page on browser | ||
|
||
- Add a comment | ||
|
||
This example applies a master branch PR to the release/1.0: | ||
``` | ||
/cherry-pick release/1.0 | ||
``` | ||
|
||
Tips: | ||
If you comment to an **UNMERGED** PR, erda-bot will auto append a commit to tell you: cherry-pick to an unmerged PR is | ||
forbidden. | ||
|
||
## Searching for Cherry Picks | ||
|
||
Filter by labels: `auto-cherry-pick` | ||
|
||
Examples: | ||
|
||
- [Erda auto-cherry-pick](https://github.com/erda-project/erda/pulls?q=is%3Apr+label%3Aauto-cherry-pick) |