summaryrefslogtreecommitdiff
path: root/action.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'action.yaml')
-rw-r--r--action.yaml6
1 files changed, 5 insertions, 1 deletions
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