Skip to content

Commit 781c358

Browse files
committed
actually get the pr body
1 parent 385b9af commit 781c358

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build-and-stage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535

3636
- name: Detect template source from PR body
3737
run: |
38-
CheckoutTarget=$(grep "template_checkout_target=" github.event.pull_request.body | awk '{print $2}')
38+
CheckoutTarget=$(grep "template_checkout_target=" "${{ github.event.pull_request.body }}" | awk '{print $2}')
3939
if [[ $CheckoutTarget ]]; then
4040
echo "Found checkout target '$CheckoutTarget' in PR body, using include templates from source."
4141
echo "{TEMPLATE_CHECKOUT_TARGET}=$CheckoutTarget" >> "$GITHUB_ENV"

0 commit comments

Comments
 (0)