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 491b483 commit e7a2f37
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/update-readme.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- uses: actions/checkout@v3.2.0
with:
fetch-depth: 0

- name: Run auto-doc
uses: tj-actions/auto-doc@v1.7.1

Expand All @@ -25,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.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 e7a2f37

Please sign in to comment.