mirror of
https://github.com/tj-actions/branch-names.git
synced 2024-12-27 14:27:59 +08:00
Updated .github/workflows/update-readme.yml
This commit is contained in:
parent
fcc3a618f3
commit
c3deeec36a
13
.github/workflows/update-readme.yml
vendored
13
.github/workflows/update-readme.yml
vendored
@ -12,11 +12,9 @@ jobs:
|
||||
- uses: actions/checkout@v3.2.0
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
|
||||
- name: Run auto-doc
|
||||
uses: tj-actions/auto-doc@v1.7.2
|
||||
with:
|
||||
col_max_words: 7
|
||||
uses: tj-actions/auto-doc@v1.7.1
|
||||
|
||||
- name: Run test
|
||||
uses: tj-actions/remark@v3
|
||||
@ -27,16 +25,19 @@ jobs:
|
||||
with:
|
||||
files: |
|
||||
README.md
|
||||
|
||||
- name: README.md changed
|
||||
if: steps.verify_changed_files.outputs.files_changed == 'true'
|
||||
run: |
|
||||
echo "README.md has uncommited changes"
|
||||
echo "README.md has uncommitted changes"
|
||||
exit 1
|
||||
|
||||
- name: Create Pull Request
|
||||
if: failure()
|
||||
uses: peter-evans/create-pull-request@v4
|
||||
uses: peter-evans/create-pull-request@v4.2.3
|
||||
with:
|
||||
base: "main"
|
||||
labels: "merge when passing"
|
||||
title: "Updated README.md"
|
||||
branch: "chore/update-readme"
|
||||
commit-message: "Updated README.md"
|
||||
|
Loading…
x
Reference in New Issue
Block a user