diff --git a/README.md b/README.md index c344e98..2663751 100644 --- a/README.md +++ b/README.md @@ -154,14 +154,14 @@ For more scenarios see [examples](#examples) section. # Default: ${{ github.token }} token: '' - # Optional parameter to override the default behavior of file matching algorithm. + # Optional parameter to override the default behavior of file matching algorithm. # By default files that match at least one pattern defined by the filters will be included. # This parameter allows to override the "at least one pattern" behavior to make it so that - # all of the patterns have to match or otherwise the file is excluded. - # An example scenario where this is useful if you would like to match all - # .ts files in a sub-directory but not .md files. - # The filters below will match markdown files despite the exclusion syntax UNLESS - # you specify 'every' as the predicate-quantifier parameter. When you do that, + # all of the patterns have to match or otherwise the file is excluded. + # An example scenario where this is useful if you would like to match all + # .ts files in a sub-directory but not .md files. + # The filters below will match markdown files despite the exclusion syntax UNLESS + # you specify 'every' as the predicate-quantifier parameter. When you do that, # it will only match the .ts files in the subdirectory as expected. # # backend: @@ -493,7 +493,7 @@ jobs: # # This can be leveraged to ensure that you only build & test software changes # that have real impact on the behavior of the code, e.g. you can set up your - # build to run when Typescript/Rust/etc. files are changed but markdown + # build to run when TypeScript/Rust/etc. files are changed but markdown # changes in the diff will be ignored and you consume less resources to build. predicate-quantifier: 'every' filters: | diff --git a/src/main.ts b/src/main.ts index 20055da..1c741df 100644 --- a/src/main.ts +++ b/src/main.ts @@ -138,7 +138,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()