From 38a1b14063d62f3d4dfd15a8ebe1677c00d40f2e Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Mon, 27 Dec 2021 20:24:27 -0500 Subject: [PATCH] Update update-readme.yml --- .github/workflows/update-readme.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/update-readme.yml b/.github/workflows/update-readme.yml index 76b0a66..1f09e54 100644 --- a/.github/workflows/update-readme.yml +++ b/.github/workflows/update-readme.yml @@ -12,6 +12,9 @@ jobs: - uses: actions/checkout@v2.4.0 with: fetch-depth: 0 + + - name: Run auto-doc + uses: tj-actions/auto-doc@v1.2.1 - name: Run test uses: tj-actions/remark@v1.7 @@ -22,11 +25,13 @@ 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" exit 1 + - name: Create Pull Request if: failure() uses: peter-evans/create-pull-request@v3