mirror of
https://github.com/actions/labeler.git
synced 2025-12-12 12:37:48 +00:00
Add the changedFiles key and update logic in labeler
This commit is contained in:
@@ -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', () => {
|
||||
|
||||
Reference in New Issue
Block a user