From e90b54dd35994acb8918e3784381fad1a3954227 Mon Sep 17 00:00:00 2001 From: Artur Souza Date: Sat, 16 Dec 2023 14:16:46 -0800 Subject: [PATCH] Using Dapr Bot to cut release tag to autorun Dapr build. (#7252) Signed-off-by: Artur Souza Co-authored-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com> Co-authored-by: Loong Dai --- .github/workflows/create-release.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/create-release.yaml b/.github/workflows/create-release.yaml index fe3a25b6372..c982cfccaa3 100644 --- a/.github/workflows/create-release.yaml +++ b/.github/workflows/create-release.yaml @@ -35,4 +35,11 @@ jobs: sudo apt-get update sudo apt-get install pcre2-utils - name: Create release branch and tag - run: ./.github/scripts/create-release.sh ${{ inputs.rel_version }} \ No newline at end of file + env: + GITHUB_TOKEN: ${{ secrets.DAPR_BOT_TOKEN }} + run: | + git config user.email "daprweb@microsoft.com" + git config user.name "Dapr Bot" + # Update origin with token + git remote set-url origin https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git + ./.github/scripts/create-release.sh ${{ inputs.rel_version }} \ No newline at end of file