@@ -18,6 +18,33 @@ inputs:
1818 required : false
1919 default : ' both'
2020
21+ # --- Pass-through options to actions/github-script ---
22+ github-token :
23+ description : ' GitHub token used to create an authenticated client'
24+ default : ${{ github.token }}
25+ required : false
26+ debug :
27+ description : ' Whether to log details of requests. true/false.'
28+ default : ${{ runner.debug == '1' }}
29+ user-agent :
30+ description : ' Optional user-agent string'
31+ default : actions/github-script
32+ previews :
33+ description : ' Comma-separated list of GraphQL API previews to accept'
34+ required : false
35+ result-encoding :
36+ description : ' Either "string" or "json" (default "json")'
37+ default : json
38+ retries :
39+ description : ' Number of times to retry a request'
40+ default : ' 0'
41+ retry-exempt-status-codes :
42+ description : ' Comma-separated list of status codes NOT to retry (effective only if retries > 0)'
43+ default : 400,401,403,404,422
44+ base-url :
45+ description : ' Optional GitHub REST API base URL for GitHub Enterprise'
46+ required : false
47+
2148runs :
2249 using : ' composite'
2350 steps :
3966 - name : Run custom JavaScript and post results
4067 uses : actions/github-script@v8
4168 with :
69+ github-token : ${{ inputs.github-token }}
70+ debug : ${{ inputs.debug }}
71+ user-agent : ${{ inputs.user-agent }}
72+ previews : ${{ inputs.previews }}
73+ result-encoding : ${{ inputs.result-encoding }}
74+ retries : ${{ inputs.retries }}
75+ retry-exempt-status-codes : ${{ inputs.retry-exempt-status-codes }}
76+ base-url : ${{ inputs.base-url }}
4277 script : |
4378 const fs = require('fs');
4479
0 commit comments