Skip to content

Commit

Permalink
Updated .github/workflows/update-readme.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jackton1 committed Dec 31, 2022
1 parent fcc3a61 commit c3deeec
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/update-readme.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"
Expand Down

0 comments on commit c3deeec

Please sign in to comment.