0
0
Fork 0
mirror of https://github.com/tj-actions/pg-dump.git synced 2024-12-20 01:18:49 +00:00

Updated .github/workflows/update-readme.yml

This commit is contained in:
Tonye Jack 2022-12-30 21:52:25 -07:00
parent b1b9ccfd54
commit 4be418023a

View file

@ -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"