diff --git a/.github/workflows/batch_release_pr.yml b/.github/workflows/batch_release_pr.yml index 881f3818b85..50830afc7cb 100644 --- a/.github/workflows/batch_release_pr.yml +++ b/.github/workflows/batch_release_pr.yml @@ -2,7 +2,7 @@ name: "Creates Batch Release for a Package" on: repository_dispatch: - types: [batch_release_pr] + types: [batch-release-pr] jobs: create_release_pr: diff --git a/.github/workflows/go_router_batch.yml b/.github/workflows/go_router_batch.yml index a245459202f..06a8be7d90e 100644 --- a/.github/workflows/go_router_batch.yml +++ b/.github/workflows/go_router_batch.yml @@ -10,10 +10,11 @@ on: jobs: dispatch_release_pr: runs-on: ubuntu-latest + permissions: + contents: write steps: - name: Repository Dispatch uses: peter-evans/repository-dispatch@5fc4efd1a4797ddb68ffd0714a238564e4cc0e6f with: - token: "${{ secrets.GITHUB_TOKEN }}" - event-type: batch_release_pr + event-type: batch-release-pr client-payload: '{"package": "go_router"}'