From 8ebfffb83b6d1fcefd10a7ddee4362fef0edf257 Mon Sep 17 00:00:00 2001 From: hangyu Date: Thu, 6 Nov 2025 13:58:06 -0800 Subject: [PATCH 01/11] Create sync_release_pr.yml --- .github/workflows/sync_release_pr.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/sync_release_pr.yml diff --git a/.github/workflows/sync_release_pr.yml b/.github/workflows/sync_release_pr.yml new file mode 100644 index 000000000000..562802f7f7ba --- /dev/null +++ b/.github/workflows/sync_release_pr.yml @@ -0,0 +1,24 @@ +name: "Sync Release to Main" + +on: + workflow_dispatch: + +jobs: + create_sync_pr: + runs-on: ubuntu-latest + steps: + - name: checkout repository + uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 + with: + # Fetch all history for all branches + fetch-depth: 0 + + - name: Create Sync Pull Request + run: | + gh pr create \ + --base main \ + --head release \ + --title "Sync release branch to main" \ + --body "This automated PR syncs the changes from the release branch back to the main branch." + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file From 46e9c386f0aaf0840ccfe839159ccaaa237c20f5 Mon Sep 17 00:00:00 2001 From: hangyu Date: Thu, 6 Nov 2025 15:17:24 -0800 Subject: [PATCH 02/11] Update sync_release_pr.yml --- .github/workflows/sync_release_pr.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/sync_release_pr.yml b/.github/workflows/sync_release_pr.yml index 562802f7f7ba..2c53665c9a60 100644 --- a/.github/workflows/sync_release_pr.yml +++ b/.github/workflows/sync_release_pr.yml @@ -1,7 +1,9 @@ name: "Sync Release to Main" on: - workflow_dispatch: + push: + branches: + - 'release' jobs: create_sync_pr: From 24d40eeab895a0061f9e91090857787881f0768e Mon Sep 17 00:00:00 2001 From: hangyu Date: Mon, 10 Nov 2025 11:21:55 -0800 Subject: [PATCH 03/11] Update sync_release_pr.yml --- .github/workflows/sync_release_pr.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/sync_release_pr.yml b/.github/workflows/sync_release_pr.yml index 2c53665c9a60..dc485becd7b2 100644 --- a/.github/workflows/sync_release_pr.yml +++ b/.github/workflows/sync_release_pr.yml @@ -3,7 +3,7 @@ name: "Sync Release to Main" on: push: branches: - - 'release' + - 'release' jobs: create_sync_pr: @@ -23,4 +23,4 @@ jobs: --title "Sync release branch to main" \ --body "This automated PR syncs the changes from the release branch back to the main branch." env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} From 9d0b3b1554beea2993a935c504941fd1f880b5d8 Mon Sep 17 00:00:00 2001 From: hangyu Date: Mon, 17 Nov 2025 13:09:13 -0800 Subject: [PATCH 04/11] Update sync_release_pr.yml --- .github/workflows/sync_release_pr.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/sync_release_pr.yml b/.github/workflows/sync_release_pr.yml index dc485becd7b2..ee3a208be3c7 100644 --- a/.github/workflows/sync_release_pr.yml +++ b/.github/workflows/sync_release_pr.yml @@ -15,12 +15,12 @@ jobs: # Fetch all history for all branches fetch-depth: 0 - - name: Create Sync Pull Request - run: | - gh pr create \ - --base main \ - --head release \ - --title "Sync release branch to main" \ - --body "This automated PR syncs the changes from the release branch back to the main branch." - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Create Pull Request + uses: peter-evans/create-pull-request@v7 + with: + token: ${{ secrets.GITHUB_TOKEN }} + commit-message: "sync release branch to main" + title: "Sync release branch to main"" + body: "This automated PR syncs the changes from the release branch back to the main branch." + branch: release + base: main From 2922cc64f49cf456867c6072979c189a31f0ce3d Mon Sep 17 00:00:00 2001 From: hangyu Date: Mon, 17 Nov 2025 13:56:45 -0800 Subject: [PATCH 05/11] lint --- .github/workflows/sync_release_pr.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/sync_release_pr.yml b/.github/workflows/sync_release_pr.yml index ee3a208be3c7..bfa1f3de6834 100644 --- a/.github/workflows/sync_release_pr.yml +++ b/.github/workflows/sync_release_pr.yml @@ -20,7 +20,7 @@ jobs: with: token: ${{ secrets.GITHUB_TOKEN }} commit-message: "sync release branch to main" - title: "Sync release branch to main"" + title: "Sync release branch to main" body: "This automated PR syncs the changes from the release branch back to the main branch." branch: release base: main From 02c7f453628946c2058710ae4183c74a68b6edc2 Mon Sep 17 00:00:00 2001 From: hangyu Date: Mon, 1 Dec 2025 11:20:16 -0800 Subject: [PATCH 06/11] branch name change --- .github/workflows/sync_release_pr.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/sync_release_pr.yml b/.github/workflows/sync_release_pr.yml index bfa1f3de6834..721d92ec0e22 100644 --- a/.github/workflows/sync_release_pr.yml +++ b/.github/workflows/sync_release_pr.yml @@ -3,7 +3,7 @@ name: "Sync Release to Main" on: push: branches: - - 'release' + - 'release-go-router' jobs: create_sync_pr: From d09faefe5d7834ae5e52e9b42fa4edc9ca7a597f Mon Sep 17 00:00:00 2001 From: hangyu Date: Mon, 8 Dec 2025 12:00:22 -0800 Subject: [PATCH 07/11] Update sync_release_pr.yml --- .github/workflows/sync_release_pr.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/sync_release_pr.yml b/.github/workflows/sync_release_pr.yml index 721d92ec0e22..c847ee889c09 100644 --- a/.github/workflows/sync_release_pr.yml +++ b/.github/workflows/sync_release_pr.yml @@ -4,6 +4,8 @@ on: push: branches: - 'release-go-router' + - 'release-material' + - 'release-cupertino' jobs: create_sync_pr: @@ -22,5 +24,5 @@ jobs: commit-message: "sync release branch to main" title: "Sync release branch to main" body: "This automated PR syncs the changes from the release branch back to the main branch." - branch: release + branch: ${{ github.ref_name }} base: main From 5a6ad2b46625ce5bf567ded2c83edcb9da6b0bb3 Mon Sep 17 00:00:00 2001 From: hangyu Date: Fri, 9 Jan 2026 16:39:49 -0800 Subject: [PATCH 08/11] Update sync_release_pr.yml --- .github/workflows/sync_release_pr.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/sync_release_pr.yml b/.github/workflows/sync_release_pr.yml index c847ee889c09..82ed93f0b17f 100644 --- a/.github/workflows/sync_release_pr.yml +++ b/.github/workflows/sync_release_pr.yml @@ -3,9 +3,7 @@ name: "Sync Release to Main" on: push: branches: - - 'release-go-router' - - 'release-material' - - 'release-cupertino' + - 'release-go_router' jobs: create_sync_pr: From a9bde6984ca09dee3a43d6e4b79c403d3e630519 Mon Sep 17 00:00:00 2001 From: hangyu Date: Fri, 9 Jan 2026 16:42:15 -0800 Subject: [PATCH 09/11] Update sync_release_pr.yml --- .github/workflows/sync_release_pr.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/sync_release_pr.yml b/.github/workflows/sync_release_pr.yml index 82ed93f0b17f..fddd936f7088 100644 --- a/.github/workflows/sync_release_pr.yml +++ b/.github/workflows/sync_release_pr.yml @@ -16,7 +16,7 @@ jobs: fetch-depth: 0 - name: Create Pull Request - uses: peter-evans/create-pull-request@v7 + uses: peter-evans/create-pull-request@4320041ed380b20e97d388d56a7fb4f9b8c20e79 with: token: ${{ secrets.GITHUB_TOKEN }} commit-message: "sync release branch to main" From 1815d95b752900cc70e4dfca04606910c026b8ad Mon Sep 17 00:00:00 2001 From: hangyu Date: Tue, 13 Jan 2026 10:50:36 -0800 Subject: [PATCH 10/11] remove fetch-depth --- .github/workflows/sync_release_pr.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/sync_release_pr.yml b/.github/workflows/sync_release_pr.yml index fddd936f7088..a15f8066044d 100644 --- a/.github/workflows/sync_release_pr.yml +++ b/.github/workflows/sync_release_pr.yml @@ -11,9 +11,6 @@ jobs: steps: - name: checkout repository uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 - with: - # Fetch all history for all branches - fetch-depth: 0 - name: Create Pull Request uses: peter-evans/create-pull-request@4320041ed380b20e97d388d56a7fb4f9b8c20e79 From 221a40be6f29d325418fba2c9288c836eec5269d Mon Sep 17 00:00:00 2001 From: hangyu Date: Fri, 16 Jan 2026 11:12:56 -0800 Subject: [PATCH 11/11] Update sync_release_pr.yml --- .github/workflows/sync_release_pr.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/sync_release_pr.yml b/.github/workflows/sync_release_pr.yml index a15f8066044d..7c661f9f7b4d 100644 --- a/.github/workflows/sync_release_pr.yml +++ b/.github/workflows/sync_release_pr.yml @@ -3,21 +3,22 @@ name: "Sync Release to Main" on: push: branches: + # As packages opt into batched releases, they need to be added here - 'release-go_router' jobs: create_sync_pr: runs-on: ubuntu-latest steps: - - name: checkout repository + - name: Checkout repository uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 - name: Create Pull Request uses: peter-evans/create-pull-request@4320041ed380b20e97d388d56a7fb4f9b8c20e79 with: token: ${{ secrets.GITHUB_TOKEN }} - commit-message: "sync release branch to main" - title: "Sync release branch to main" - body: "This automated PR syncs the changes from the release branch back to the main branch." + commit-message: "Sync ${{ github.ref_name }} to main" + title: "Sync ${{ github.ref_name }} to main" + body: "This automated PR syncs the changes from the release branch ${{ github.ref_name }} back to the main branch." branch: ${{ github.ref_name }} base: main