File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -11,14 +11,15 @@ inputs:
1111 description : Path to the CLA signees file within the provided `repository`.
1212 default : .cla-signers
1313 token :
14- description : >-
14+ description : |
1515 GitHub token to comment on PRs, change PR labels, modify the commit status, and create pull request.
1616 Fine-grained PAT: `pull_request: write; statuses: write`
1717 default : ${{ github.token }}
1818 fork-token :
1919 description : |
2020 GitHub token to create and push to the fork.
2121 Fine-grained PAT: `administration: write; contents: write`
22+ default : ${{ inputs.token }}
2223
2324runs :
2425 using : composite
9091 if : steps.detect-signature.outputs.signed == 'false'
9192 uses : conda/actions/create-fork@create-fork
9293 with :
93- token : ${{ inputs.fork-token || inputs.token }}
94+ token : ${{ inputs.fork-token }}
9495
9596 - name : Setup Python
9697 if : steps.detect-signature.outputs.signed == 'false'
@@ -113,7 +114,7 @@ runs:
113114 uses : peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f # v7.0.5
114115 with :
115116 # push to the fork
116- branch-token : ${{ inputs.fork-token || inputs.token }}
117+ branch-token : ${{ inputs.fork-token }}
117118 push-to-fork : ${{ steps.create-fork.outputs.fork }}
118119 branch : cla-${{ steps.detect-contributor.outputs.id }}
119120 commit-message : 🤖 Add ${{ steps.detect-contributor.outputs.login }} (${{ steps.detect-contributor.outputs.id }}) as CLA signee
You can’t perform that action at this time.
0 commit comments