Skip to content

Commit

Permalink
Create multi branch PRs to pd (#951)
Browse files Browse the repository at this point in the history
  • Loading branch information
shhdgit authored Jul 9, 2021
1 parent 32e4f6b commit 65b20bd
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,15 @@ jobs:
name: Create PD PR
runs-on: ubuntu-latest
needs: release
strategy:
matrix:
branch: [master, release-4.0, release-5.0, release-5.1]
steps:
- name: Check out PD code base
uses: actions/checkout@master
with:
repository: tikv/pd
ref: ${{ matrix.branch }}
- uses: actions/setup-go@v2
with:
go-version: "1.16.5"
Expand Down Expand Up @@ -119,24 +123,18 @@ jobs:
if: steps.git_commit.outputs.committed == 1
with:
token: ${{ secrets.BOT_PAT }}
branch: update-tidb-dashboard/${{ needs.release.outputs.release_version }}-${{ steps.build_id.outputs.id }}
title: Update TiDB Dashboard to ${{ needs.release.outputs.release_version }}
branch: update-tidb-dashboard/${{ matrix.branch }}-${{ needs.release.outputs.release_version }}-${{ steps.build_id.outputs.id }}
title: Update TiDB Dashboard to ${{ needs.release.outputs.release_version }} [${{ matrix.branch }}]
body: |
### What problem does this PR solve?
Update TiDB Dashboard to ${{ needs.release.outputs.release_version }}.
Upstream commit: https://github.com/${{ github.repository }}/commit/${{ github.sha }} .
### Check List
Related changes
- Need to cherry-pick to the release branch
### Release note
```release-note
Update TiDB Dashboard to ${{ needs.release.outputs.release_version }}
None
```
push-to-fork: tidb-dashboard-bot/pd

0 comments on commit 65b20bd

Please sign in to comment.