Skip to content

Commit

Permalink
tools: fix request-ci-failed comment
Browse files Browse the repository at this point in the history
PR-URL: nodejs#45291
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
  • Loading branch information
aduh95 authored and lucshi committed Nov 9, 2022
1 parent 9a5ac16 commit e5ddd35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/actions/start-ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ for pr in "$@"; do
gh pr edit "$pr" --add-label "$REQUEST_CI_FAILED_LABEL"

# shellcheck disable=SC2154
cqurl="${GITHUB_SERVER_URL}/${OWNER}/${REPOSITORY}/actions/runs/${GITHUB_RUN_ID}"
cqurl="${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}/actions/runs/${GITHUB_RUN_ID}"
body="<details><summary>Failed to start CI</summary><pre>$(cat output)</pre><a href='$cqurl'>$cqurl</a></details>"
echo "$body"

Expand Down

0 comments on commit e5ddd35

Please sign in to comment.