We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 32d6fb2 commit 4daffbaCopy full SHA for 4daffba
action.yml
@@ -123,12 +123,8 @@ runs:
123
# "Set base sha..."
124
if [[ -n "${{ inputs.base_sha }}" ]]; then
125
echo "::set-output name=base_sha::${{ inputs.base_sha }}"
126
- elif [[ "${{ inputs.since_last_remote_commit }}" == "true" ]]; then
127
- if [[ "${{ github.event.before }}" != "0000000000000000000000000000000000000000" ]]; then
+ elif [[ "${{ inputs.since_last_remote_commit }}" == "true" && "${{ github.event.before }}" != "0000000000000000000000000000000000000000" ]]; then
128
echo "::set-output name=base_sha::${{ github.event.before }}"
129
- else
130
- echo "::set-output name=base_sha::${{ github.sha }}"
131
- fi
132
fi
133
id: base-sha
134
shell: bash
0 commit comments