diff options
| author | eric sciple <ericsciple@users.noreply.github.com> | 2019-12-12 13:49:26 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-12-12 13:49:26 -0500 |
| commit | ca3a763d5ed9e04331c8a6aea85ddabcb3a6aa4d (patch) | |
| tree | 236058d4a2be4208412dc3ed294e2db566aab7d6 /action.yml | |
| parent | 25ac60e43ded675f082e10f444b0ad95ea43622e (diff) | |
add input persist-credentials (#107)
Diffstat (limited to 'action.yml')
| -rw-r--r-- | action.yml | 14 |
1 files changed, 10 insertions, 4 deletions
@@ -6,12 +6,18 @@ inputs: default: ${{ github.repository }}
ref:
description: >
- The branch, tag or SHA to checkout. When checking out the repository
- that triggered a workflow, this defaults to the reference or SHA for
- that event. Otherwise, defaults to `master`.
+ The branch, tag or SHA to checkout. When checking out the repository that
+ triggered a workflow, this defaults to the reference or SHA for that
+ event. Otherwise, defaults to `master`.
token:
- description: 'Access token for clone repository'
+ description: >
+ Auth token used to fetch the repository. The token is stored in the local
+ git config, which enables your scripts to run authenticated git commands.
+ The post-job step removes the token from the git config.
default: ${{ github.token }}
+ persist-credentials:
+ description: 'Whether to persist the token in the git config'
+ default: true
path:
description: 'Relative path under $GITHUB_WORKSPACE to place the repository'
clean:
|
