Skip to content

Commit

Permalink
ci: fix theme preview action (#2563)
Browse files Browse the repository at this point in the history
  • Loading branch information
rickstaa authored Mar 3, 2023
1 parent 7bc8f19 commit 9767710
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/preview-theme.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ const INVALID_REVIEW_COMMENT = (commentUrl) =>

// Retrieve octokit instance.
const OCTOKIT = github.getOctokit(getGithubToken());
const PULL_REQUEST_ID = getPrNumber();
const { OWNER, REPO } = getRepoInfo(github.context);
var PULL_REQUEST_ID;

/**
* Retrieve PR number from the event payload.
Expand Down Expand Up @@ -318,6 +318,7 @@ export const run = async () => {
`;
const ccc = new ColorContrastChecker();
const commenter = getCommenter();
PULL_REQUEST_ID = getPrNumber();
debug(`Owner: ${OWNER}`);
debug(`Repo: ${REPO}`);
debug(`Commenter: ${commenter}`);
Expand Down

0 comments on commit 9767710

Please sign in to comment.