Fix action

Attempt to fix check for generated files action to actually make a new comment if one doesn't exist
This commit is contained in:
omuretsu 2023-02-11 15:31:49 -05:00
parent dba6773375
commit af8528c777

@ -51,5 +51,5 @@ jobs:
pr edit "${{ github.event.number }}" --add-label "$LABEL"
echo "And comment on the pr"
gh --repo "${{ github.repository }}" \
pr comment "${{ github.event.number }}" --body-file comment.txt --edit-last
pr comment "${{ github.event.number }}" --body-file comment.txt --edit-last || pr comment "${{ github.event.number }}" --body-file comment.txt
fi