Levitate: Fix typo in CI workflow scripts (#60438)

Fix: Typo in a Levitate CI script
This commit is contained in:
Levente Balogh 2022-12-16 11:21:46 +01:00 committed by GitHub
parent 055c3b7332
commit 689f30623a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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`);
}