Skip to content

Commit

Permalink
ci: use unique branch name for auto-merge PR to avoid overwriting exi…
Browse files Browse the repository at this point in the history
…sting PRs

ci: include commit SHA in auto-merge PR title to provide more context about the changes being merged
  • Loading branch information
MartinMinkov committed Jul 12, 2024
1 parent 3a5ac6a commit 15fe7d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/auto-merge-main-to-v2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
if: failure()
uses: peter-evans/create-pull-request@v6
with:
branch: auto-merge-main-to-v2
title: 'Auto-merge main to v2'
branch: auto-merge-main-to-v2-${{ github.sha }}
title: 'Auto-merge main to v2 (commit ${{ github.sha }})'
body: 'This PR was automatically created to merge changes from main into v2. Please resolve conflicts and merge manually.'
base: v2

0 comments on commit 15fe7d6

Please sign in to comment.