|
|
|
@ -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 }}
|