Skip to content

Commit

Permalink
Skip merge action if no PR
Browse files Browse the repository at this point in the history
  • Loading branch information
prvashisht committed Jun 10, 2024
1 parent 2e4182c commit 0904989
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release-extension.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ jobs:
labels: documentation, github-actions

- name: Merge Pull Request
if: steps.create_pr.outputs.pull-request-number
run: |
gh pr merge "${{ steps.create_pr.outputs.pull-request-number }}" --squash --delete-branch
git fetch --all
Expand Down

0 comments on commit 0904989

Please sign in to comment.