Skip to content

Commit

Permalink
report-job-status: fix job log link
Browse files Browse the repository at this point in the history
The link was wrong since there was a space between `${jobId}?` and
`check_suite_focus=true`.
  • Loading branch information
ylobankov authored and NickVolynkin committed Aug 24, 2022
1 parent f51af0e commit 1e1d91e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions report-job-status/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ runs:
JSON.stringify(steps[key])
}
})
// Try to find the job ID by its name.
// In matrix workflows it will work only if exact name was provided
// in `job-name` input.
Expand All @@ -116,8 +116,7 @@ runs:
}
}
if (jobId != "") {
jobIdMsg = `<b>Job:</b> <a href="${baseUrl}/${{ github.repository }}/runs/${jobId}?\
check_suite_focus=true">${failedJobName}</a>, attempt #${{ github.run_attempt }}`
jobIdMsg = `<b>Job:</b> <a href="${baseUrl}/${{ github.repository }}/runs/${jobId}?check_suite_focus=true">${failedJobName}</a>, attempt #${{ github.run_attempt }}`
} else {
jobIdMsg = `<b>Job:</b> ${failedJobName}, attempt #${{ github.run_attempt }}`
}
Expand Down

0 comments on commit 1e1d91e

Please sign in to comment.