x
This commit is contained in:
parent
d1ee8312ca
commit
5dd4f42188
16
action.yml
16
action.yml
@ -9,7 +9,19 @@ inputs:
|
|||||||
The branch, tag or SHA to checkout. When checking out the repository that
|
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
|
triggered a workflow, this defaults to the reference or SHA for that
|
||||||
event. Otherwise, uses the default branch.
|
event. Otherwise, uses the default branch.
|
||||||
|
token:
|
||||||
|
description: >
|
||||||
|
Personal access token (PAT) used to fetch the repository. The PAT is configured
|
||||||
|
with the local git config, which enables your scripts to run authenticated git
|
||||||
|
commands. The post-job step removes the PAT.
|
||||||
|
|
||||||
|
|
||||||
|
We recommend using a service account with the least permissions necessary.
|
||||||
|
Also when generating a new PAT, select the least scopes necessary.
|
||||||
|
|
||||||
|
|
||||||
|
[Learn more about creating and using encrypted secrets](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/creating-and-using-encrypted-secrets)
|
||||||
|
default: ${{ github.token }}
|
||||||
runs:
|
runs:
|
||||||
using: 'docker'
|
using: 'docker'
|
||||||
image: 'docker://aburgess/git:latest'
|
image: 'Dockerfile'
|
||||||
entrypoint: echo hello
|
|
||||||
|
Loading…
Reference in New Issue
Block a user