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
11
.github/workflows/update-readme.yml
vendored
11
.github/workflows/update-readme.yml
vendored
@ -14,9 +14,7 @@ jobs:
|
|||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Run auto-doc
|
- name: Run auto-doc
|
||||||
uses: tj-actions/auto-doc@v1.7.2
|
uses: tj-actions/auto-doc@v1.7.1
|
||||||
with:
|
|
||||||
col_max_words: 7
|
|
||||||
|
|
||||||
- name: Run test
|
- name: Run test
|
||||||
uses: tj-actions/remark@v3
|
uses: tj-actions/remark@v3
|
||||||
@ -27,16 +25,19 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
files: |
|
files: |
|
||||||
README.md
|
README.md
|
||||||
|
|
||||||
- name: README.md changed
|
- name: README.md changed
|
||||||
if: steps.verify_changed_files.outputs.files_changed == 'true'
|
if: steps.verify_changed_files.outputs.files_changed == 'true'
|
||||||
run: |
|
run: |
|
||||||
echo "README.md has uncommited changes"
|
echo "README.md has uncommitted changes"
|
||||||
exit 1
|
exit 1
|
||||||
|
|
||||||
- name: Create Pull Request
|
- name: Create Pull Request
|
||||||
if: failure()
|
if: failure()
|
||||||
uses: peter-evans/create-pull-request@v4
|
uses: peter-evans/create-pull-request@v4.2.3
|
||||||
with:
|
with:
|
||||||
base: "main"
|
base: "main"
|
||||||
|
labels: "merge when passing"
|
||||||
title: "Updated README.md"
|
title: "Updated README.md"
|
||||||
branch: "chore/update-readme"
|
branch: "chore/update-readme"
|
||||||
commit-message: "Updated README.md"
|
commit-message: "Updated README.md"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user