Skip to content

Commit 3828155

Browse files
committed
fix: inverted commit input
1 parent fdd3ff7 commit 3828155

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

.github/workflows/test_action.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ jobs:
1111
- uses: actions/checkout@v2
1212
with:
1313
fetch-depth: 0 # ensures that tags are fetched, seems to be needed
14-
ref: ${{github.head_ref}}
1514
- name: Capture commit id
1615
id: capture
1716
run: |

entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
if [ $INPUT_DRY_RUN ]; then INPUT_DRY_RUN='--dry-run'; else INPUT_DRY_RUN=''; fi
44
if [ $INPUT_CHANGELOG ]; then INPUT_CHANGELOG='--changelog'; else INPUT_CHANGELOG=''; fi
55
if [ $INPUT_PRERELEASE ]; then INPUT_PRERELEASE="--prerelease $INPUT_PRERELEASE"; else INPUT_PRERELEASE=''; fi
6-
if [ $INPUT_COMMIT ]; then INPUT_COMMIT='--files-only'; else INPUT_COMMIT=''; fi
6+
if [ "$INPUT_COMMIT" == 'false' ]; then INPUT_COMMIT='--files-only'; else INPUT_COMMIT=''; fi
77
INPUT_BRANCH=${INPUT_BRANCH:-master}
88
INPUT_EXTRA_REQUIREMENTS=${INPUT_EXTRA_REQUIREMENTS:-''}
99
REPOSITORY=${INPUT_REPOSITORY:-$GITHUB_REPOSITORY}

0 commit comments

Comments
 (0)