build: add spell-check.yml action.

This commit is contained in:
liqiang-fit2cloud 2022-10-21 15:17:13 +08:00
parent e7f4f3fedd
commit 52430c7b1b
1 changed files with 6 additions and 1 deletions

View File

@ -3,8 +3,12 @@ name: Spell Check
on: on:
workflow_dispatch: workflow_dispatch:
inputs: inputs:
repo:
description: 'Repo'
required: true
default: "metersphere/metersphere"
branch: branch:
description: 'Repo branch' description: 'Branch'
required: true required: true
default: "main" default: "main"
@ -16,6 +20,7 @@ jobs:
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v3
with: with:
repository: ${{ github.event.inputs.repo }}
ref: ${{ github.event.inputs.branch }} ref: ${{ github.event.inputs.branch }}
- name: Check - name: Check