mirror of
https://github.com/Matysh/houseplan-card
synced 2026-09-29 03:09:36 +00:00
fix: repair the line continuation in the failure handler
The step that comments on the issue when a review run dies carried a literal backslash instead of a line continuation, so gh received four arguments and --repo ran as a command of its own. The handler for failures would itself have failed, silently, and only when something had already gone wrong. bash -n does not catch this: the syntax is valid, the meaning is not. Checking run blocks now also means looking for a doubled backslash at end of line. Issue: #114 User-Visible: no
This commit is contained in:
@@ -337,5 +337,5 @@ jobs:
|
||||
|
||||
Если вердикт выше всё же опубликован — сбой произошёл после него. Перестановку метки в этом случае выполняет чат обслуживания или владелец, но не автор задачи: автор не толкует вердикт о своей же работе.
|
||||
EOF
|
||||
gh issue comment "${{ github.event.issue.number }}" \\
|
||||
gh issue comment "${{ github.event.issue.number }}" \
|
||||
--repo "${{ github.repository }}" --body-file /tmp/failure.md
|
||||
|
||||
Reference in New Issue
Block a user