Skip to content

Commit

Permalink
fix: dont open pr if no auto update changes
Browse files Browse the repository at this point in the history
  • Loading branch information
MoLow committed Nov 25, 2023
1 parent 4723323 commit 7ae7808
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/update-links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:
CF_SECRET_ACCESS_KEY: ${{ secrets.CF_SECRET_ACCESS_KEY }}

- name: Commit Changes
id: git_auto_commit
uses: stefanzweifel/git-auto-commit-action@8756aa072ef5b4a080af5dc8fef36c5d586e521d # v5.0.0
with:
commit_options: '--no-verify --no-signoff'
Expand All @@ -42,6 +43,7 @@ jobs:
create_branch: true

- name: Open and Merge Pull Request
if: steps.git_auto_commit.outputs.changes_detected == 'true'
run: |
gh pr create --fill
gh pr merge --squash --delete-branch --admin
Expand Down

0 comments on commit 7ae7808

Please sign in to comment.