The script to run
The GitHub token used to create an authenticated client
Default if unspecified: "${{ github.token }}"
"${{ github.token }}"
Whether to tell the GitHub client to log details of its requests. true or false. Default is to run in debug mode when the GitHub Actions step debug logging is turned on.
Default if unspecified: "${{ runner.debug == '1' }}"
"${{ runner.debug == '1' }}"
An optional user-agent string
Default if unspecified: "actions/github-script"
"actions/github-script"
A comma-separated list of GraphQL API previews to accept
To set as a Listing, use previewsList.
Listing
previewsList
Either "string" or "json" (default "json")—how the result will be encoded
Default if unspecified: "json"
"json"
The number of times to retry a request
Default if unspecified: "0"
"0"
A comma separated list of status codes that will NOT be retried e.g. "400,500". No effect unless retries is set
retries
Default if unspecified: "400,401,403,404,422"
"400,401,403,404,422"
To set as a Listing, use retry-exempt-status-codes-list.
retry-exempt-status-codes-list
An optional GitHub REST API URL to connect to a different GitHub instance. For example, https://my.github-enterprise-server.com/api/v3
Returns the class of this.
this
Returns a string representation of this.
This method is used to convert the values of string interpolation expressions to strings.
Returns this |> transform if this is non-null, and null otherwise.
this |> transform
null
This method is the complement of the ?? operator and the equivalent of an Option type's map and flatMap methods.
??
Option
map
flatMap
Tells if this object has a property with the given name.
name
Returns the value of the property with the given name.
Throws if a property with this name does not exist.
Returns null if a property with this name does not exist.
Converts this object to a Dynamic object.
Dynamic
Converts this object to a Map.
Map
The script to run