diff options
| author | seth <[email protected]> | 2024-06-04 12:00:21 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-06-04 08:00:21 -0400 |
| commit | 6219d0b7cfea271bffbc0ba11956373b55db17cf (patch) | |
| tree | 124d9dd1f01b31f111095d133ff769a04f717b94 /action.yaml | |
| parent | 1c3c62b0eff2e1db0c3a58729e0adc8d8c41e501 (diff) | |
fix: running without specific inputs passed (#1)v0.1.2
Diffstat (limited to 'action.yaml')
| -rw-r--r-- | action.yaml | 6 |
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 |
