Update actions/node-ci/action.yml

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Felipe Knorr Kuhn 2026-02-15 09:51:13 -08:00 committed by GitHub
parent a95914faa2
commit 9c1dbe5507
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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'