Skip to content

Commit

Permalink
chore: Fix PR merge commands and include squash and delete-branch opt…
Browse files Browse the repository at this point in the history
…ions
  • Loading branch information
prvashisht committed Jun 10, 2024
1 parent eca93c5 commit f626608
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/release-extension.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -111,11 +111,10 @@ jobs:
commit-message: "Update README and CHANGELOG for v${{ needs.check_version.outputs.new_version }}"
body: "This PR updates the README and CHANGELOG files for the new version v${{ needs.check_version.outputs.new_version }}."
labels: documentation, release, github-actions
delete-branch: true

- name: Merge Pull Request
id: merge_pr
run: gh pr merge "${{ steps.create_pr.outputs.pull-request-number }}"
run: gh pr merge "${{ steps.create_pr.outputs.pull-request-number }}" --squash --delete-branch
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand Down

0 comments on commit f626608

Please sign in to comment.