Skip to content

Commit

Permalink
Merge pull request #144 from dmvict/master
Browse files Browse the repository at this point in the history
READY: Add option `github_token` to work with private actions
  • Loading branch information
dmvict committed Mar 22, 2024
2 parents 4ca71ac + 1903bde commit 1900814
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
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 }}'

0 comments on commit 1900814

Please sign in to comment.