Skip to content

Commit 4ac035b

Browse files
authored
[ci] Use manual trigger for go_router_batch workflow for testing purp… (#10475)
…oses and adjust release branch name as title ## Pre-Review Checklist **Note**: The Flutter team is currently trialing the use of [Gemini Code Assist for GitHub](https://developers.google.com/gemini-code-assist/docs/review-github-code). Comments from the `gemini-code-assist` bot should not be taken as authoritative feedback from the Flutter team. If you find its comments useful you can update your code accordingly, but if you are unsure or disagree with the feedback, please feel free to wait for a Flutter team member's review for guidance on which automated comments should be addressed. [^1]: Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling.
1 parent 3546b8f commit 4ac035b

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

.github/workflows/batch_release_pr.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: "Creates Batch Release for A Package"
1+
name: "Creates Batch Release for a Package"
22

33
on:
44
repository_dispatch:
@@ -18,7 +18,7 @@ jobs:
1818
# This step is to create a branch for batch release
1919
# A branch may not be created if there is nothing to release.
2020
# In that case, the workflow will exit and complete successfully.
21-
- name: create batch release PR
21+
- name: create batch release branch
2222
run: |
2323
git config --global user.name ${{ secrets.USER_NAME }}
2424
git config --global user.email ${{ secrets.USER_EMAIL }}
@@ -29,7 +29,7 @@ jobs:
2929
with:
3030
branch: ${{ env.BRANCH_NAME }}
3131

32-
- name: Create Pull Request
32+
- name: Create batch release PR
3333
if: steps.check-branch-exists.outputs.exists == 'true'
3434
uses: peter-evans/create-pull-request@v7
3535
with:
@@ -38,6 +38,6 @@ jobs:
3838
title: "[${{ github.event.client_payload.package }}] Batch release"
3939
body: "This PR was created automatically to batch release the `${{ github.event.client_payload.package }}`."
4040
branch: ${{ env.BRANCH_NAME }}
41-
base: release
41+
base: release-${{ github.event.client_payload.package }}
4242

4343

.github/workflows/go_router_batch.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
name: "Creates Batch Release for go_router"
22

33
on:
4-
schedule:
5-
# Run every Monday at 8:00 AM
6-
- cron: "0 8 * * 1"
4+
workflow_dispatch:
5+
# Uncomment the cron schedule when ready.
6+
# schedule:
7+
# # Run every Monday at 8:00 AM
8+
# - cron: "0 8 * * 1"
79

810
jobs:
911
dispatch_release_pr:

0 commit comments

Comments
 (0)