trigger-gitlab: do not interpret the fetch_pulls outputs

Here documents are by default interpreted. Quoting the delimiter prevents
that.

See https://stackoverflow.com/questions/27920806/how-to-avoid-heredoc-expanding-variables
This commit is contained in:
Ondřej Budai 2021-10-21 11:11:55 +02:00 committed by Ondřej Budai
parent 4ff59e2086
commit 2f1b5d72dd

View file

@ -38,7 +38,7 @@ jobs:
run: |
PR_DATA=$(mktemp)
# use uuid as a file terminator to avoid conflicts with data content
cat > "$PR_DATA" <<a21b3e7f-d5eb-44a3-8be0-c2412851d2e6
cat > "$PR_DATA" <<'a21b3e7f-d5eb-44a3-8be0-c2412851d2e6'
${{ steps.fetch_pulls.outputs.data }}
a21b3e7f-d5eb-44a3-8be0-c2412851d2e6