Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

READY: Add option github_token to work with private actions #144

Merged
merged 1 commit into from
Mar 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 4 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -57,3 +60,4 @@ runs:
job_context: '${{ toJSON( job ) }}'
matrix_context: '${{ toJSON( matrix ) }}'
time_out: '${{ inputs.time_out }}'
github_token: '${{ inputs.github_token }}'