mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-01-10 22:27:07 +08:00
feat: set pull request
Signed-off-by: Xinwei Xiong(cubxxw-openim) <3293172751nss@gmail.com>
This commit is contained in:
parent
95171a185f
commit
f73faff3ec
13
.github/workflows/pull-request.yml
vendored
13
.github/workflows/pull-request.yml
vendored
@ -44,9 +44,7 @@ jobs:
|
||||
run: |
|
||||
git config user.name 'openimbot'
|
||||
git config user.email 'openimsdk@qq.com'
|
||||
git checkout -b cicd/patch-${{ steps.patch.outputs.patch }}
|
||||
git commit -am "docs: modify tracked file during workflow"
|
||||
|
||||
git checkout -b cicd/patch-${{ github.event.number }}
|
||||
- uses: actions/setup-node@v3
|
||||
- name: Setup Go
|
||||
uses: actions/setup-go@v2
|
||||
@ -97,13 +95,12 @@ jobs:
|
||||
- name: Commit code
|
||||
run: |
|
||||
git add .
|
||||
git commit -a -s -m "cicd: bump League Patch to cicd/patch-${{ steps.patch.outputs.patch }}"
|
||||
|
||||
- name: Create Pull Request
|
||||
uses: peter-evans/create-pull-request@v5
|
||||
with:
|
||||
commit-message: "cicd: bump League Patch to cicd/patch-${{ steps.patch.outputs.patch }}"
|
||||
title: Bump League Patch to cicd/patch-${{ steps.patch.outputs.patch }}
|
||||
commit-message: "cicd: bump League Patch to cicd/patch-${{ github.event.number }}"
|
||||
title: Bump League Patch to cicd/patch-${{ github.event.number }}
|
||||
body: |
|
||||
Review criteria:
|
||||
|
||||
@ -112,6 +109,6 @@ jobs:
|
||||
This is an automated PR.
|
||||
<sub>[workflow](https://github.com/OpenIMSDK/Open-IM-Server/blob/main/.github/workflows/pull-request.yml).</sub>
|
||||
base: main
|
||||
branch: cicd/patch-${{ steps.patch.outputs.patch }}
|
||||
branch: cicd/patch-${{ github.event.number }}
|
||||
labels: kind/documentation, area/test, ok-to-test
|
||||
token: ${{ secrets.BOT_GITHUB_TOKEN }}
|
||||
token: ${{ secrets.REDBOT_GITHUB_TOKEN }}
|
||||
Loading…
x
Reference in New Issue
Block a user