mirror of
https://github.com/grafana/grafana.git
synced 2025-02-14 01:23:32 -06:00
Levitate: Fix typo in CI workflow scripts (#60438)
Fix: Typo in a Levitate CI script
This commit is contained in:
parent
055c3b7332
commit
689f30623a
2
.github/workflows/scripts/pr-get-job-link.js
vendored
2
.github/workflows/scripts/pr-get-job-link.js
vendored
@ -3,7 +3,7 @@ module.exports = async ({ name, github, context, core }) => {
|
||||
const { owner, repo } = context.repo;
|
||||
const url = `https://api.github.com/repos/${owner}/${repo}/actions/runs/${context.runId}/jobs`
|
||||
const result = await github.request(url);
|
||||
const job = result.jobs.find(j => j.name === name);
|
||||
const job = result.data.jobs.find(j => j.name === name);
|
||||
|
||||
core.setOutput('link', `${job.html_url}?check_suite_focus=true`);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user