diff --git a/.github/workflows/batch_release_pr.yml b/.github/workflows/batch_release_pr.yml index 42000979858..c4a5899aefc 100644 --- a/.github/workflows/batch_release_pr.yml +++ b/.github/workflows/batch_release_pr.yml @@ -1,4 +1,4 @@ -name: "Creates Batch Release for A Package" +name: "Creates Batch Release for a Package" on: repository_dispatch: @@ -18,7 +18,7 @@ jobs: # This step is to create a branch for batch release # A branch may not be created if there is nothing to release. # In that case, the workflow will exit and complete successfully. - - name: create batch release PR + - name: create batch release branch run: | git config --global user.name ${{ secrets.USER_NAME }} git config --global user.email ${{ secrets.USER_EMAIL }} @@ -29,7 +29,7 @@ jobs: with: branch: ${{ env.BRANCH_NAME }} - - name: Create Pull Request + - name: Create batch release PR if: steps.check-branch-exists.outputs.exists == 'true' uses: peter-evans/create-pull-request@v7 with: @@ -38,6 +38,6 @@ jobs: title: "[${{ github.event.client_payload.package }}] Batch release" body: "This PR was created automatically to batch release the `${{ github.event.client_payload.package }}`." branch: ${{ env.BRANCH_NAME }} - base: release + base: release-${{ github.event.client_payload.package }} diff --git a/.github/workflows/go_router_batch.yml b/.github/workflows/go_router_batch.yml index f07cb5b242c..90ef2edf6b5 100644 --- a/.github/workflows/go_router_batch.yml +++ b/.github/workflows/go_router_batch.yml @@ -1,9 +1,11 @@ name: "Creates Batch Release for go_router" on: - schedule: - # Run every Monday at 8:00 AM - - cron: "0 8 * * 1" + workflow_dispatch: + # Uncomment the cron schedule when ready. + # schedule: + # # Run every Monday at 8:00 AM + # - cron: "0 8 * * 1" jobs: dispatch_release_pr: