Update 个人向Linux新服务器初始化清单.md #42
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/[email protected] | |
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." |