diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index dc683e49b..9f3062fb2 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -20,16 +20,13 @@ on: - 'README.md' - 'CONTRIBUTING.md' - 'docs/**' - pull_request: - branches: [main] - paths-ignore: - - 'README.md' - - 'CONTRIBUTING.md' - - 'docs/**' + workflow_dispatch: + schedule: + - cron: '0 2 * * *' permissions: - pull-requests: write contents: write + pull-requests: write jobs: build: @@ -107,6 +104,7 @@ jobs: author: kubbot signoff: false draft: false + branch: "cicd/patch-${{ github.event.number }}" assignees: cubxxw reviewers: cubxxw delete-branch: true @@ -115,10 +113,9 @@ jobs: - [ ] Disenchanter can connect and issue actions - This is an automated PR. @ ${{ github.actor }} + This is an automated PR. @ ${{ github.actor }} [workflow](https://github.com/OpenIMSDK/Open-IM-Server/blob/main/.github/workflows/pull-request.yml). base: main - branch: cicd/patch-${{ github.event.number }} labels: | kind/documentation enhancement diff --git a/.github/workflows/scripts-verify.yml b/.github/workflows/scripts-verify.yml index 726146043..f3d885814 100644 --- a/.github/workflows/scripts-verify.yml +++ b/.github/workflows/scripts-verify.yml @@ -1,3 +1,17 @@ +# Copyright © 2023 OpenIM. All rights reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + name: OpenIM executes the script validation code on: