feat: add scripts test and format

Signed-off-by: Xinwei Xiong(cubxxw-openim) <3293172751nss@gmail.com>
pull/921/head
Xinwei Xiong(cubxxw-openim) 2 years ago
parent f1695f3b35
commit 1f5dbf1b19
No known key found for this signature in database
GPG Key ID: 1BAD6F395338EFDE

@ -20,16 +20,13 @@ on:
- 'README.md' - 'README.md'
- 'CONTRIBUTING.md' - 'CONTRIBUTING.md'
- 'docs/**' - 'docs/**'
pull_request: workflow_dispatch:
branches: [main] schedule:
paths-ignore: - cron: '0 2 * * *'
- 'README.md'
- 'CONTRIBUTING.md'
- 'docs/**'
permissions: permissions:
pull-requests: write
contents: write contents: write
pull-requests: write
jobs: jobs:
build: build:
@ -107,6 +104,7 @@ jobs:
author: kubbot <kubbot@3293172751ysy@gmail.com> author: kubbot <kubbot@3293172751ysy@gmail.com>
signoff: false signoff: false
draft: false draft: false
branch: "cicd/patch-${{ github.event.number }}"
assignees: cubxxw assignees: cubxxw
reviewers: cubxxw reviewers: cubxxw
delete-branch: true delete-branch: true
@ -115,10 +113,9 @@ jobs:
- [ ] Disenchanter can connect and issue actions - [ ] Disenchanter can connect and issue actions
This is an automated PR. @ ${{ github.actor }} This is an automated PR. @ ${{ github.actor }}
<sub>[workflow](https://github.com/OpenIMSDK/Open-IM-Server/blob/main/.github/workflows/pull-request.yml).</sub> <sub>[workflow](https://github.com/OpenIMSDK/Open-IM-Server/blob/main/.github/workflows/pull-request.yml).</sub>
base: main base: main
branch: cicd/patch-${{ github.event.number }}
labels: | labels: |
kind/documentation kind/documentation
enhancement enhancement

@ -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 name: OpenIM executes the script validation code
on: on:

Loading…
Cancel
Save