Skip to content

Commit 15929a3

Browse files
authored
Merge pull request #2226 from Kobzol/rustc-pull-ci-bash
Fix rustc-pull CI's bash commands
2 parents e895255 + a0f5d80 commit 15929a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/rustc-pull.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@ jobs:
5050
RESULT=`gh pr list --author github-actions[bot] --state open -q 'map(select(.title=="Rustc pull update")) | length' --json title`
5151
if [[ "$RESULT" -eq 0 ]]; then
5252
echo "Creating new pull request"
53-
PR_URL=gh pr create -B master --title 'Rustc pull update' --body 'Latest update from rustc.'
53+
PR_URL=`gh pr create -B master --title 'Rustc pull update' --body 'Latest update from rustc.'`
5454
echo "pr_url=$PR_URL" >> $GITHUB_OUTPUT
5555
else
56-
PR_URL=gh pr list --author github-actions[bot] --state open -q 'map(select(.title=="Rustc pull update")) | .[0].url' --json url,title
56+
PR_URL=`gh pr list --author github-actions[bot] --state open -q 'map(select(.title=="Rustc pull update")) | .[0].url' --json url,title`
5757
echo "pr_url=$PR_URL" >> $GITHUB_OUTPUT
5858
fi
5959
env:

0 commit comments

Comments
 (0)