mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-12 07:20:45 +00:00
docs: fix merge-pr comment variable expansion
This commit is contained in:
@@ -150,13 +150,7 @@ echo "merge_sha=$merge_sha"
|
|||||||
Use a literal multiline string or heredoc for newlines.
|
Use a literal multiline string or heredoc for newlines.
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
gh pr comment <PR> -F - <<'EOF'
|
gh pr comment <PR> --body "$(printf 'Merged via squash.\n\n- Merge commit: %s\n\nThanks @%s!\n' \"$merge_sha\" \"$contrib\")"
|
||||||
Merged via squash.
|
|
||||||
|
|
||||||
- Merge commit: $merge_sha
|
|
||||||
|
|
||||||
Thanks @$contrib!
|
|
||||||
EOF
|
|
||||||
```
|
```
|
||||||
|
|
||||||
6. Verify PR state is MERGED
|
6. Verify PR state is MERGED
|
||||||
|
|||||||
Reference in New Issue
Block a user