Skip to content

Commit

Permalink
Support path parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
HackAttack committed Oct 29, 2024
1 parent d481127 commit d763d50
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ inputs:
description: "Number of commits to fetch. 0 indicates all history for all tags and branches"
required: false
default: 1
path:
description: "Relative path under $GITHUB_WORKSPACE to place the repository"
ref:
description: >
The branch, tag or SHA to checkout. When checking out the repository that
Expand Down Expand Up @@ -66,6 +68,7 @@ runs:
uses: actions/checkout@v3
with:
fetch-depth: ${{ inputs.fetch-depth }}
path: ${{ inputs.path }}
ref: ${{ inputs.ref }}
repository: ${{ inputs.repository }}
token: ${{ inputs.token }}
Expand Down

0 comments on commit d763d50

Please sign in to comment.