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:
parent
b1b9ccfd54
commit
4be418023a
1 changed files with 8 additions and 2 deletions
10
.github/workflows/update-readme.yml
vendored
10
.github/workflows/update-readme.yml
vendored
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue