Skip to content

Commit 97106ee

Browse files
authored
try handling missing notes (#49)
Signed-off-by: Tom Hennen <[email protected]>
1 parent 039f378 commit 97106ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

actions/get_note/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ runs:
1616
git config user.name "${{ github.actor }}"
1717
git config user.email "${{ github.actor }}@users.noreply.github.com"
1818
git fetch origin "refs/notes/*:refs/notes/*"
19-
git notes show ${{ inputs.commit }} >> ${{ inputs.path }}
19+
git notes show ${{ inputs.commit }} || echo "" >> ${{ inputs.path }}
2020
shell: bash

0 commit comments

Comments
 (0)