Skip to content

Commit c1a84c6

Browse files
committed
Fix syntax for message retrieval in dev.lock.yml and dev.md to ensure proper output handling
1 parent 673d3d8 commit c1a84c6

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/dev.lock.yml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/dev.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ safe-jobs:
2424
run: |
2525
cat "$GITHUB_AW_AGENT_OUTPUT"
2626
if [ -f "$GITHUB_AW_AGENT_OUTPUT" ]; then
27-
MESSAGE=$(cat "$GITHUB_AW_AGENT_OUTPUT" | jq -r 'select(.tool == "print") | .message)
27+
MESSAGE=$(cat "$GITHUB_AW_AGENT_OUTPUT" | jq -r 'select(.tool == "print") | .message')
2828
echo "Echoing message: $MESSAGE"
2929
else
3030
echo "No agent output found, using default: Hello from safe-job!"

0 commit comments

Comments
 (0)