From 0332ee667cf60a16a8a138c348feac0e435db7d7 Mon Sep 17 00:00:00 2001 From: diegomarquezp Date: Thu, 18 Jan 2024 00:42:51 +0000 Subject: [PATCH] include calling user in pr description, restore cloud java bot token --- .github/workflows/generate_new_client.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/generate_new_client.yaml b/.github/workflows/generate_new_client.yaml index 5ec4588f9152..d263b7b5a90e 100644 --- a/.github/workflows/generate_new_client.yaml +++ b/.github/workflows/generate_new_client.yaml @@ -130,7 +130,7 @@ jobs: git push -f monorepo "${branch_name}" # create PR - pr_body="Generated with https://github.com/googleapis/google-cloud-java/actions/workflows/generate_new_client.yaml + pr_body="Generated by @${USERNAME} via [generate_new_client.yaml](https://github.com/googleapis/google-cloud-java/actions/workflows/generate_new_client.yaml) Command used: @@ -142,5 +142,5 @@ jobs: USERNAME: ${{ github.actor }} API_SHORTNAME: ${{ github.event.inputs.api_shortname }} GENERATION_ARGUMENTS: ${{ steps.generation.outputs.new_library_args }} - GH_TOKEN: ${{ github.token }} + GH_TOKEN: ${{ secrets.CLOUD_JAVA_BOT_TOKEN }}