Files
Colinx-Blog/.github/workflows/text-lint.yml
dependabot[bot] a072dbd225 build(deps): bump actions/checkout from 4 to 5
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-18 10:38:05 +00:00

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@v5
- name: huacnlee.autocorrect
uses: huacnlee/autocorrect-action@v2.10.0
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."