diff options
| author | 许杰友 Jieyou Xu (Joe) <39484203+jieyouxu@users.noreply.github.com> | 2025-01-28 12:35:41 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-28 12:35:41 +0800 |
| commit | 3d4b24ac0e2f67e6156f8a7660a6adbc9c7aee8b (patch) | |
| tree | ab266e2eed3162d843a7b11f4dcd8135e4fb25af | |
| parent | 885641bab13f89e5b42f5ee88dc8e97f85e17243 (diff) | |
| parent | 2412289fc9ae0e8903d1c3cca8ef0aaf84eae307 (diff) | |
| download | rust-3d4b24ac0e2f67e6156f8a7660a6adbc9c7aee8b.tar.gz rust-3d4b24ac0e2f67e6156f8a7660a6adbc9c7aee8b.zip | |
Merge pull request #2226 from Kobzol/rustc-pull-ci-bash
Fix rustc-pull CI's bash commands
| -rw-r--r-- | src/doc/rustc-dev-guide/.github/workflows/rustc-pull.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doc/rustc-dev-guide/.github/workflows/rustc-pull.yml b/src/doc/rustc-dev-guide/.github/workflows/rustc-pull.yml index 87a3ee2e78f..615927d55e5 100644 --- a/src/doc/rustc-dev-guide/.github/workflows/rustc-pull.yml +++ b/src/doc/rustc-dev-guide/.github/workflows/rustc-pull.yml @@ -50,10 +50,10 @@ jobs: RESULT=`gh pr list --author github-actions[bot] --state open -q 'map(select(.title=="Rustc pull update")) | length' --json title` if [[ "$RESULT" -eq 0 ]]; then echo "Creating new pull request" - PR_URL=gh pr create -B master --title 'Rustc pull update' --body 'Latest update from rustc.' + PR_URL=`gh pr create -B master --title 'Rustc pull update' --body 'Latest update from rustc.'` echo "pr_url=$PR_URL" >> $GITHUB_OUTPUT else - PR_URL=gh pr list --author github-actions[bot] --state open -q 'map(select(.title=="Rustc pull update")) | .[0].url' --json url,title + PR_URL=`gh pr list --author github-actions[bot] --state open -q 'map(select(.title=="Rustc pull update")) | .[0].url' --json url,title` echo "pr_url=$PR_URL" >> $GITHUB_OUTPUT fi env: |
