@@ -27,19 +27,32 @@ inputs:
2727 owner :
2828 required : false
2929 default : " "
30- description : " The repository owner"
30+ description : |
31+ The repository owner.
32+ If unspecified, this will default to the owner of the current repository.
3133 repo :
3234 required : false
3335 default : " "
34- description : " The repository"
36+ description : |
37+ The name of the repository.
38+ If unspecified, this will default to the current repository.
39+ github-token :
40+ required : false
41+ default : " ${{ github.token }}"
42+ description : |
43+ The default token to use for this Git operation.
44+ If unspecified, this will default to `github.token`.
3545 retries :
3646 required : false
37- default : " 3"
38- description : " The number of times to try retrying"
47+ default : " 0"
48+ description : |
49+ The number of times to attempt to retry if this fails.
3950 retry-exempt-status-codes :
4051 required : false
4152 default : " 400,401,403,404,422"
42- description : " The retry exempt status codes"
53+ description : |
54+ A list of error-codes that are exempt from being retried.
55+
4356outputs :
4457 issue-number :
4558 value : ${{ steps.create-or-comment.outputs.issue-number }}
6073 with :
6174 retries : ${{ inputs.retries }}
6275 retry-exempt-status-codes : ${{ inputs.retry-exempt-status-codes }}
76+ github-token : ${{ inputs.github-token }}
6377 script : |
6478 const issues = await github.paginate(github.rest.issues.listForRepo, {
6579 owner: `${{ inputs.owner }}` || context.repo.owner,
0 commit comments