mirror of
https://github.com/tiennm99/github-readme-stats.git
synced 2026-07-17 08:17:48 +00:00
ci: fix theme preview action (#2563)
This commit is contained in:
@@ -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}`);
|
||||
|
||||
Reference in New Issue
Block a user