From 90fd2b751de87c16edf5ae1d5878b73755c497b0 Mon Sep 17 00:00:00 2001 From: Romeo Date: Fri, 28 Feb 2020 17:54:52 +0100 Subject: [PATCH] Fix repo and owner in links --- dist/main.js | 2 +- src/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/main.js b/dist/main.js index 361a3126..cd0ee054 100644 --- a/dist/main.js +++ b/dist/main.js @@ -22917,7 +22917,7 @@ async function main$1() { const lcov = await parse$2(raw); const options = { - repository: `${github_1.owner}/${github_1.repo}`, + repository: `${github_1.repo.owner}/${github_1.repo.repo}`, pr: event.pull_request.number, commit: event.after, prefix: `${process.env.GITHUB_WORKSPACE}/`, diff --git a/src/index.js b/src/index.js index 090b9f1a..e3b566a4 100644 --- a/src/index.js +++ b/src/index.js @@ -20,7 +20,7 @@ async function main() { const lcov = await parse(raw) const options = { - repository: `${context.owner}/${context.repo}`, + repository: `${context.repo.owner}/${context.repo.repo}`, pr: event.pull_request.number, commit: event.after, prefix: `${process.env.GITHUB_WORKSPACE}/`,