From 61f87a10cd2c304679af17bb73ef192addf33c1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucas=20Serv=C3=A9n=20Mar=C3=ADn?= Date: Wed, 25 Mar 2026 12:27:15 -0400 Subject: [PATCH] chore: fix GitHub spelling in logs (#278) * chore: fix GitHub spelling in logs * fix: rebuild dist --------- Co-authored-by: Sascha Bratton --- dist/index.js | 4 ++-- src/main.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dist/index.js b/dist/index.js index 4d82840..a135601 100644 --- a/dist/index.js +++ b/dist/index.js @@ -640,7 +640,7 @@ async function getChangedFiles(token, base, ref, initialFetchDepth) { // At the same time we don't want to fetch any code from forked repository throw new Error(`'token' input parameter is required if action is triggered by 'pull_request_target' event`); } - core.info('Github token is not available - changes will be detected using git diff'); + core.info('GitHub token is not available - changes will be detected using git diff'); const baseSha = (_a = github.context.payload.pull_request) === null || _a === void 0 ? void 0 : _a.base.sha; const defaultBranch = (_b = github.context.payload.repository) === null || _b === void 0 ? void 0 : _b.default_branch; const currentRef = await git.getCurrentRef(); @@ -710,7 +710,7 @@ async function getChangedFilesFromGit(base, head, initialFetchDepth) { } // Uses github REST api to get list of files changed in PR async function getChangedFilesFromApi(token, pullRequest) { - core.startGroup(`Fetching list of changed files for PR#${pullRequest.number} from Github API`); + core.startGroup(`Fetching list of changed files for PR#${pullRequest.number} from GitHub API`); try { const client = github.getOctokit(token); const per_page = 100; diff --git a/src/main.ts b/src/main.ts index 90ec2f6..8adb308 100644 --- a/src/main.ts +++ b/src/main.ts @@ -107,7 +107,7 @@ async function getChangedFiles(token: string, base: string, ref: string, initial // At the same time we don't want to fetch any code from forked repository throw new Error(`'token' input parameter is required if action is triggered by 'pull_request_target' event`) } - core.info('Github token is not available - changes will be detected using git diff') + core.info('GitHub token is not available - changes will be detected using git diff') const baseSha = github.context.payload.pull_request?.base.sha const defaultBranch = github.context.payload.repository?.default_branch const currentRef = await git.getCurrentRef() @@ -194,7 +194,7 @@ async function getChangedFilesFromGit(base: string, head: string, initialFetchDe // Uses github REST api to get list of files changed in PR async function getChangedFilesFromApi(token: string, pullRequest: PullRequest): Promise { - core.startGroup(`Fetching list of changed files for PR#${pullRequest.number} from Github API`) + core.startGroup(`Fetching list of changed files for PR#${pullRequest.number} from GitHub API`) try { const client = github.getOctokit(token) const per_page = 100