File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,10 @@ inputs:
2626 description : reviewers required for all PRs
2727 required : false
2828 default : " "
29+ token :
30+ description : GitHub token for creating PRs (defaults to github.token)
31+ required : false
32+ default : " "
2933
3034runs :
3135 using : composite
7175 # get list of reviewers for PR
7276 - run : |
7377 echo "REVIEWERS=$( \
74- GITHUB_TOKEN=${{ github.token }} \
78+ GITHUB_TOKEN=${{ inputs.token || github.token }} \
7579 python $GITHUB_ACTION_PATH/deploy_bot/get_reviewers.py \
7680 --repository ${{ github.repository }} \
7781 --head-branch=${{ env.DEPLOYMENT_BRANCH }} \
9195 pr_label : ${{ inputs.pr_label }}
9296 pr_allow_empty : false
9397 pr_reviewer : ${{ env.REVIEWERS }}
94- github_token : ${{ github.token }}
98+ github_token : ${{ inputs.token || github.token }}
You can’t perform that action at this time.
0 commit comments