From c3deeec36a465aa7e5f6dcf748295d2228e8aa50 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 | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/update-readme.yml b/.github/workflows/update-readme.yml index dceb043..764d535 100644 --- a/.github/workflows/update-readme.yml +++ b/.github/workflows/update-readme.yml @@ -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 @@ -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"