Skip to content

Commit 8b3eaca

Browse files
committed
Fix here-document indentation issue in workflow script
1 parent 83c16bf commit 8b3eaca

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

.github/workflows/hiring-mirror-and-delete.yml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -106,17 +106,7 @@ jobs:
106106
107107
echo "No existing open applications for @${author}. Proceeding to mirror."
108108
109-
private_body=$(cat <<EOF
110-
Application submitted via website → public intake issue → mirrored by GitHub Actions.
111-
112-
**Original author:** @${author}
113-
**Original issue (now deleted):** https://github.com/${SOURCE_OWNER}/${SOURCE_REPO}/issues/${ISSUE_NUMBER}
114-
115-
---
116-
117-
${body}
118-
EOF
119-
)
109+
private_body=$(printf "Application submitted via website → public intake issue → mirrored by GitHub Actions.\n\n**Original author:** @%s\n**Original issue (now deleted):** https://github.com/%s/%s/issues/%s\n\n---\n\n%s" "$author" "$SOURCE_OWNER" "$SOURCE_REPO" "$ISSUE_NUMBER" "$body")
120110
121111
create_payload=$(jq -n \
122112
--arg title "$title" \

0 commit comments

Comments
 (0)