Add the changedFiles key and update logic in labeler

This commit is contained in:
Josh Dales
2023-01-29 14:10:07 -05:00
parent 7a5c525049
commit 969899da68
4 changed files with 51 additions and 22 deletions

View File

@@ -10,7 +10,7 @@ beforeAll(() => {
});
});
const matchConfig = [{any: ['*.txt']}];
const matchConfig = [{changedFiles: {any: ['*.txt']}}];
describe('checkGlobs', () => {
it('returns true when our pattern does match changed files', () => {