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

Add required required field to action.yml #480

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
Add required required field to action.yml
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
  • Loading branch information
jsoref authored Apr 18, 2021
commit 9a7fdf8dc6a5e8c735878a22f3b6c83f8fc38e89
12 changes: 12 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
@@ -4,11 +4,13 @@ inputs:
repository:
description: 'Repository name with owner. For example, actions/checkout'
default: ${{ github.repository }}
required: false
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, uses the default branch.
required: false
token:
description: >
Personal access token (PAT) used to fetch the repository. The PAT is configured
@@ -22,6 +24,7 @@ inputs:

[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 }}
required: false
ssh-key:
description: >
SSH key used to fetch the repository. The SSH key is configured with the local
@@ -34,31 +37,39 @@ inputs:

[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)
required: false
ssh-known-hosts:
description: >
Known hosts in addition to the user and global host key database. The public
SSH keys for a host may be obtained using the utility `ssh-keyscan`. For example,
`ssh-keyscan github.com`. The public key for github.com is always implicitly added.
required: false
ssh-strict:
description: >
Whether to perform strict host key checking. When true, adds the options `StrictHostKeyChecking=yes`
and `CheckHostIP=no` to the SSH command line. Use the input `ssh-known-hosts` to
configure additional hosts.
default: true
required: false
persist-credentials:
description: 'Whether to configure the token or SSH key with the local git config'
default: true
required: false
path:
description: 'Relative path under $GITHUB_WORKSPACE to place the repository'
required: false
clean:
description: 'Whether to execute `git clean -ffdx && git reset --hard HEAD` before fetching'
default: true
required: false
fetch-depth:
description: 'Number of commits to fetch. 0 indicates all history for all branches and tags.'
default: 1
required: false
lfs:
description: 'Whether to download Git-LFS files'
default: false
required: false
submodules:
description: >
Whether to checkout submodules: `true` to checkout submodules or `recursive` to
@@ -68,6 +79,7 @@ inputs:
When the `ssh-key` input is not provided, SSH URLs beginning with `git@github.com:` are
converted to HTTPS.
default: false
required: false
runs:
using: node12
main: dist/index.js