diff --git a/Readme.md b/Readme.md index 0c29f7f..f92415c 100644 --- a/Readme.md +++ b/Readme.md @@ -91,6 +91,10 @@ Set delay between attempts in ms. Default is 0. Set time out in ms for entire step including all retries. By default actions sets no time out. +### `github_token` + +A token to access private actions. Does not required for public actions. + ## Outputs The action exposes single output named `outputs`. It collects all the outputs from the action/command in JSON map. diff --git a/action.yml b/action.yml index 7ba6d72..708fbb4 100644 --- a/action.yml +++ b/action.yml @@ -35,6 +35,9 @@ inputs: actions sets no time out. required: false default: false + github_token: + description: 'A token to access private actions. Does not required for public actions.' + required: false outputs: outputs: description: A pretty print JSON map with outputs from the wrapped action. @@ -57,3 +60,4 @@ runs: job_context: '${{ toJSON( job ) }}' matrix_context: '${{ toJSON( matrix ) }}' time_out: '${{ inputs.time_out }}' + github_token: '${{ inputs.github_token }}'