From 4b3df32bd0fae6973571bf6bfa81a24a1849043e Mon Sep 17 00:00:00 2001 From: AnJia Date: Fri, 4 Mar 2022 10:15:19 +0800 Subject: [PATCH] Update gcr.io_mirror.yml --- .github/workflows/gcr.io_mirror.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/gcr.io_mirror.yml b/.github/workflows/gcr.io_mirror.yml index b223518..4e2f277 100644 --- a/.github/workflows/gcr.io_mirror.yml +++ b/.github/workflows/gcr.io_mirror.yml @@ -144,10 +144,9 @@ jobs: run_id: ${{ github.run_id }} }) console.log("jobs",jobsResponse['data']) + body+="\n\n 日志:\n\n" for(let job of jobsResponse['data']['jobs']){ - if(github.job == job.name){ - body+="\n\n [详细日志]("+job.html_url+")" - } + body+="- ["+job.name+"]("+job.html_url+")" } } const issuesComment = await github.issues.createComment({