Skip to content

Commit

Permalink
Add auto merge to version bump pr
Browse files Browse the repository at this point in the history
  • Loading branch information
svetlanabrennan committed Aug 28, 2023
1 parent a43145e commit 423dd42
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/release-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,10 @@ jobs:
run: git push origin update-chart-version-${{ github.sha }}

- name: Open pull request
run: gh pr create -B main -H update-chart-version-${{ github.sha }} --title 'Bump appVersion' --body 'Bumping appVersion'
run: |
pr_url=$(gh pr create -B main -H update-chart-version-${{ github.sha }} --title 'Bump appVersion' --body 'Bumping appVersion')
pr_number=$(basename $pr_url)
gh pr merge $pr_number --squash --auto --delete-branch --body "Merged by github bot."
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand Down

0 comments on commit 423dd42

Please sign in to comment.