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