mirror of
https://github.com/Colin-XKL/Colinx-Blog.git
synced 2026-01-11 10:11:28 +08:00
Bumps [huacnlee/autocorrect-action](https://github.com/huacnlee/autocorrect-action) from 2.10.0 to 2.13.3. - [Release notes](https://github.com/huacnlee/autocorrect-action/releases) - [Commits](https://github.com/huacnlee/autocorrect-action/compare/v2.10.0...v2.13.3) --- updated-dependencies: - dependency-name: huacnlee/autocorrect-action dependency-version: 2.13.3 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
31 lines
778 B
YAML
31 lines
778 B
YAML
name: Check and correct text
|
|
|
|
on:
|
|
push:
|
|
branches: [master]
|
|
# pull_request:
|
|
# branches: [master]
|
|
|
|
jobs:
|
|
check-and-lint-text:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: huacnlee.autocorrect
|
|
uses: huacnlee/autocorrect-action@v2.13.3
|
|
with:
|
|
args: --fix
|
|
|
|
- name: Create Pull Request
|
|
uses: peter-evans/create-pull-request@v5
|
|
with:
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
commit-message: "chore: lint text and auto correct"
|
|
title: "Text lint and fix"
|
|
labels: "Lint"
|
|
author: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
|
|
branch: "text-lint"
|
|
body: "Some words and sentences need to be updated."
|