Skip to content

Commit bab935f

Browse files
authored
[ci] Adjust workflow for dispatching go_router batch release (#10733)
I think this is what was missing, the current error message without this patch https://github.com/flutter/packages/actions/runs/20761184331 ## 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 30ba42a commit bab935f

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/batch_release_pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: "Creates Batch Release for a Package"
22

33
on:
44
repository_dispatch:
5-
types: [batch_release_pr]
5+
types: [batch-release-pr]
66

77
jobs:
88
create_release_pr:

.github/workflows/go_router_batch.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,11 @@ on:
1010
jobs:
1111
dispatch_release_pr:
1212
runs-on: ubuntu-latest
13+
permissions:
14+
contents: write
1315
steps:
1416
- name: Repository Dispatch
1517
uses: peter-evans/repository-dispatch@5fc4efd1a4797ddb68ffd0714a238564e4cc0e6f
1618
with:
17-
token: "${{ secrets.GITHUB_TOKEN }}"
18-
event-type: batch_release_pr
19+
event-type: batch-release-pr
1920
client-payload: '{"package": "go_router"}'

0 commit comments

Comments
 (0)