mirror of
https://github.com/dorny/paths-filter.git
synced 2026-06-30 21:00:46 +00:00
chore: fix GitHub spelling in logs (#278)
* chore: fix GitHub spelling in logs * fix: rebuild dist --------- Co-authored-by: Sascha Bratton <sascha@queen.one>
This commit is contained in:
parent
b82ff81ffb
commit
61f87a10cd
2 changed files with 4 additions and 4 deletions
|
|
@ -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<File[]> {
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue