Skip to content

Commit

Permalink
fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
Yehonal authored Jul 15, 2023
1 parent 4048d74 commit d89ffa1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion changed-files/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,16 @@ async function run() {
let changedPaths;
if (prNumber) {
let baseRef, headRef;

let repo = `${github.context.repo.owner}/${github.context.repo.repo}`;
await exec.exec(
"gh",
[
"pr",
"view",
prNumber,
"--repo",
github.context.repo,
repo,
"--json",
"baseRefName,headRefName",
],
Expand Down

0 comments on commit d89ffa1

Please sign in to comment.