Update actions/node-ci/action.yml
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
a95914faa2
commit
9c1dbe5507
@ -37,7 +37,8 @@ runs:
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
path: ${{ inputs.checkout-path }}
|
||||
ref: ${{ inputs.checkout-ref || github.ref }}
|
||||
# Use github.ref when checkout-ref input is empty
|
||||
ref: ${{ inputs.checkout-ref != '' && inputs.checkout-ref || github.ref }}
|
||||
|
||||
- name: Checkout submodules
|
||||
if: inputs.checkout-submodules == 'true'
|
||||
|
||||
Loading…
Reference in New Issue
Block a user