diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 065bcfa8c..6f39c93b2 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -15,7 +15,6 @@ name: Github Pull Request on: workflow_dispatch: - push: schedule: - cron: '0 2 * * *' @@ -58,6 +57,13 @@ jobs: - name: Generate all necessary files, such as error code files run: | make generate + echo "Generate all necessary files successfully" + continue-on-error: true + + - name: make init + run: | + export OPENIM_IP=127.0.0.1 + export LOG_STORAGE_LOCATION="../logs/" ./scripts/init-config.sh --examples --force echo "Generate all necessary files successfully" continue-on-error: true @@ -76,7 +82,6 @@ jobs: - name: OpenIM verify copyright run: | - sudo make verify-copyright sudo make add-copyright echo "OpenIM verify successfully" continue-on-error: true @@ -93,13 +98,19 @@ jobs: branch: "asf-auto-updates" assignees: cubxxw reviewers: cubxxw - title: "Bump League Patch auto PR: $(date +'%Y%m%d')" + title: "[Auto PR 🤖] Bump League Patch auto PR" body: | + I am a PR generated by robot automation. + Review criteria: - [ ] Disenchanter can connect and issue actions + + Github Actions Status: + + [![Github Pull Request](https://github.com/openimsdk/open-im-server/actions/workflows/pull-request.yml/badge.svg)](https://github.com/openimsdk/open-im-server/actions/workflows/pull-request.yml) - This is an automated PR. @ $(date +'%Y%m%d') + This is an automated PR. [workflow](https://github.com/openimsdk/open-im-server/blob/main/.github/workflows/pull-request.yml). labels: | kind/documentation