lint(ci): Address linter issue for workflow files

This commit is contained in:
Timothy Messier committed 2023-03-29 18:38:50 +00:00
1 parent e76b3b9511
commit a7c11846d6
2 files changed
+27 -26

No files matched your search

+3 -3
View File
@@ -45,9 +45,9 @@ jobs:
# getdiff echoes the diff in GitHub markdown syntax or "Unchanged" if
# the file is empty.
getdiff() {
if [[ -s $1 ]]; then
if [[ -s "$1" ]]; then
echo \`\`\`diff
echo "$(cat $1)"
cat "$1"
echo \`\`\`
else
echo "Unchanged"
@@ -95,4 +95,4 @@ jobs:
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
-d @body.json \
$GITHUB_API_URL/repos/$GITHUB_REPOSITORY/issues/${{ github.event.pull_request.number }}/comments
"$GITHUB_API_URL/repos/$GITHUB_REPOSITORY/issues/${{ github.event.pull_request.number }}/comments"