Skip to content

Commit a2e8ea1

Browse files
committed
try wrapping the pr body another way
1 parent 1e5984b commit a2e8ea1

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=" `${{ env.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)