Skip to content

Commit c489f72

Browse files
committed
Update sync_release_pr.yml
1 parent 8e6cf16 commit c489f72

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/sync_release_pr.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ jobs:
1515
# Fetch all history for all branches
1616
fetch-depth: 0
1717

18-
- name: Create Sync Pull Request
19-
run: |
20-
gh pr create \
21-
--base main \
22-
--head release \
23-
--title "Sync release branch to main" \
24-
--body "This automated PR syncs the changes from the release branch back to the main branch."
25-
env:
26-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
18+
- name: Create Pull Request
19+
uses: peter-evans/create-pull-request@v7
20+
with:
21+
token: ${{ secrets.GITHUB_TOKEN }}
22+
commit-message: "sync release branch to main"
23+
title: "Sync release branch to main""
24+
body: "This automated PR syncs the changes from the release branch back to the main branch."
25+
branch: release
26+
base: main

0 commit comments

Comments
 (0)