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

Fix: Typo in a Levitate CI script
pull/60445/head
Levente Balogh 3 years ago committed by GitHub
parent 055c3b7332
commit 689f30623a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      .github/workflows/scripts/pr-get-job-link.js

@ -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…
Cancel
Save