diff --git a/__tests__/changedFiles.test.ts b/__tests__/changedFiles.test.ts index df1b9359..0f611c5b 100644 --- a/__tests__/changedFiles.test.ts +++ b/__tests__/changedFiles.test.ts @@ -11,7 +11,7 @@ jest.mock('@actions/github'); describe('checkAllChangedFiles', () => { const changedFiles = ['foo.txt', 'bar.txt']; - describe('when the globs match every file that has changed', () => { + describe('when the globs match every file that has been changed', () => { const globs = ['*.txt']; it('returns true', () => { diff --git a/src/branch.ts b/src/branch.ts index 9c197741..92c78186 100644 --- a/src/branch.ts +++ b/src/branch.ts @@ -69,7 +69,7 @@ export function checkAllBranch( ): boolean { const branchName = getBranchName(branchBase); if (!branchName) { - core.debug(` no branch name`); + core.debug(` cannot fetch branch name from the pull request`); return false; } diff --git a/src/labeler.ts b/src/labeler.ts index 26db5ede..2ba31c75 100644 --- a/src/labeler.ts +++ b/src/labeler.ts @@ -126,7 +126,7 @@ export function getLabelConfigMapFromObject( !configOptions.every(opts => typeof opts === 'object') ) { throw Error( - `found unexpected type for label ${label} (should be array of config options)` + `found unexpected type for label '${label}' (should be array of config options)` ); } const matchConfigs = configOptions.reduce(