Skip to content

Commit

Permalink
Update update-readme.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jackton1 committed Nov 6, 2021
1 parent f15232b commit 169632f
Showing 1 changed file with 17 additions and 15 deletions.
32 changes: 17 additions & 15 deletions .github/workflows/update-readme.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,22 @@ jobs:
with:
files: |
README.md
- run: |
cat 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: 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
with:
base: "main"
title: "Updated README.md"
branch: "chore/update-readme"
commit-message: "Updated README.md"
body: "Updated README.md"
token: ${{ secrets.PAT_TOKEN }}
# - name: Create Pull Request
# if: failure()
# uses: peter-evans/create-pull-request@v3
# with:
# base: "main"
# title: "Updated README.md"
# branch: "chore/update-readme"
# commit-message: "Updated README.md"
# body: "Updated README.md"
# token: ${{ secrets.PAT_TOKEN }}

0 comments on commit 169632f

Please sign in to comment.