From 6219d0b7cfea271bffbc0ba11956373b55db17cf Mon Sep 17 00:00:00 2001 From: seth Date: Tue, 4 Jun 2024 12:00:21 +0000 Subject: fix: running without specific inputs passed (#1) --- action.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'action.yaml') diff --git a/action.yaml b/action.yaml index 64a9201..3d19c0d 100644 --- a/action.yaml +++ b/action.yaml @@ -70,7 +70,11 @@ runs: NPINS_DIRECTORY: ${{ inputs.npins-directory }} shell: bash run: | - npins update "${SOURCES[@]}" + if [ "$SOURCES" = "" ]; then + npins update + else + npins update $SOURCES + fi - name: Create PR id: pr -- cgit v1.2.3