-
Notifications
You must be signed in to change notification settings - Fork 240
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add backport GitHub action * Add documentation * Tweak docs title
- Loading branch information
1 parent
6e3ace1
commit 423ff0a
Showing
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
name: Backport | ||
on: | ||
pull_request: | ||
types: | ||
- closed | ||
- labeled | ||
|
||
jobs: | ||
backport: | ||
runs-on: ubuntu-latest | ||
name: Backport | ||
steps: | ||
- name: Backport | ||
uses: tibdex/backport@v1 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} |
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,15 @@ | ||
# Development | ||
|
||
## Backporting | ||
|
||
The Mercurius repository supports backporting PRs that also need to be applied to older versions. | ||
|
||
### How do we do this? | ||
|
||
As soon as one opens a PR against the default branch, and the change should be backported to `v8.x`, you should add the corresponding backport label. For example, if we need to backport something to `v8.x`, we add the following label: | ||
|
||
- `backport v8.x` | ||
|
||
And you are done! If there are no conflicts, the action will open a separate PR with the backport for review. | ||
|
||
If the PR can't be automatically backported, the GitHub bot will comment the failure on the PR. |
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