File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2121 with :
2222 ref : ${{ github.event.inputs.main-branch }}
2323 token : ${{ secrets.GITHUB_TOKEN }}
24+
25+ - name : Bot Details
26+ id : bot-details
27+ uses : raven-actions/bot-details@v1
28+
2429 - name : Create release branch and generate PR body
2530 id : create-branch
2631 env :
32+ BOT_ID : ${{ steps.bot-details.outputs.id }}
33+ BOT_DISPLAY_NAME : ${{ steps.bot-details.outputs.name }}
34+ BOT_EMAIL : ${{ steps.bot-details.outputs.email }}
2735 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
2836 RELEASE_BRANCH : ${{ github.event.inputs.release-branch }}
2937 MAIN_BRANCH : ${{ github.event.inputs.main-branch }}
3442 # script will go here
3543 echo "Initializing git"
3644 # Optional
37- git config user.name github-actions
38- git config user.email github-actions@github.com
45+ git config user.name $BOT_DISPLAY_NAME
46+ git config user.email $BOT_EMAIL
3947 BRANCH_NAME="${RELEASE_BRANCH}"
4048 echo "creating branch is $BRANCH_NAME"
4149 git checkout -b "$BRANCH_NAME"
You can’t perform that action at this time.
0 commit comments