-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for dynamic branch reference in action.yml
- Loading branch information
1 parent
87130a3
commit 38b713a
Showing
1 changed file
with
2 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -62,6 +62,7 @@ runs: | |
id: git_checkout_no_lfs | ||
uses: actions/[email protected] | ||
with: | ||
ref: ${{ inputs.head-branch }} | ||
fetch-depth: ${{ inputs.head-only == 'true' && inputs.head-only-fetch-depth || env.HEAD_FETCH_DEPTH }} | ||
lfs: false | ||
|
||
|
@@ -70,6 +71,7 @@ runs: | |
id: git_checkout_lfs | ||
uses: nschloe/[email protected] | ||
with: | ||
ref: ${{ inputs.head-branch }} | ||
fetch-depth: ${{ inputs.head-only == 'true' && inputs.head-only-fetch-depth || env.HEAD_FETCH_DEPTH }} | ||
token: ${{ inputs.lfs-token }} | ||
|
||
|