We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18b9cc5 commit 198cfc0Copy full SHA for 198cfc0
.github/workflows/sync_release_pr.yml
@@ -0,0 +1,24 @@
1
+name: "Sync Release to Main"
2
+
3
+on:
4
+ workflow_dispatch:
5
6
+jobs:
7
+ create_sync_pr:
8
+ runs-on: ubuntu-latest
9
+ steps:
10
+ - name: checkout repository
11
+ uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
12
+ with:
13
+ # Fetch all history for all branches
14
+ fetch-depth: 0
15
16
+ - name: Create Sync Pull Request
17
+ run: |
18
+ gh pr create \
19
+ --base main \
20
+ --head release \
21
+ --title "Sync release branch to main" \
22
+ --body "This automated PR syncs the changes from the release branch back to the main branch."
23
+ env:
24
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments