mirror of
https://github.com/grafana/grafana.git
synced 2024-11-28 11:44:26 -06:00
689f30623a
Fix: Typo in a Levitate CI script
10 lines
388 B
JavaScript
10 lines
388 B
JavaScript
|
|
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.data.jobs.find(j => j.name === name);
|
|
|
|
core.setOutput('link', `${job.html_url}?check_suite_focus=true`);
|
|
}
|