From 4be418023a2be6b3ec04a80c85fcc9f7ea215e5f Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Fri, 30 Dec 2022 21:52:25 -0700 Subject: [PATCH] Updated .github/workflows/update-readme.yml --- .github/workflows/update-readme.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update-readme.yml b/.github/workflows/update-readme.yml index 462f438..764d535 100644 --- a/.github/workflows/update-readme.yml +++ b/.github/workflows/update-readme.yml @@ -13,6 +13,9 @@ jobs: with: fetch-depth: 0 + - name: Run auto-doc + uses: tj-actions/auto-doc@v1.7.1 + - name: Run test uses: tj-actions/remark@v3 @@ -22,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"