From ca3a763d5ed9e04331c8a6aea85ddabcb3a6aa4d Mon Sep 17 00:00:00 2001 From: eric sciple Date: Thu, 12 Dec 2019 13:49:26 -0500 Subject: add input persist-credentials (#107) --- action.yml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'action.yml') diff --git a/action.yml b/action.yml index d21e5f1..54cf4b3 100644 --- a/action.yml +++ b/action.yml @@ -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: -- cgit v1.2.3