ci: fix theme preview action (#2563)

This commit is contained in:
Rick Staa 2023-03-03 09:07:02 +01:00 committed by GitHub
parent 7bc8f19a7f
commit 976771080f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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