Fix linting and formatting

This commit is contained in:
Josh Dales
2023-03-18 16:46:54 -04:00
parent 17694aa238
commit e9a1777eb0
3 changed files with 7 additions and 7 deletions

View File

@@ -1,11 +1,11 @@
test-branch: test-branch:
- head-branch: "^test/" - head-branch: '^test/'
feature-branch: feature-branch:
- head-branch: "/feature/" - head-branch: '/feature/'
bug-branch: bug-branch:
- head-branch: "^bug/|fix/" - head-branch: '^bug/|fix/'
array-branch: array-branch:
- head-branch: ["^array/"] - head-branch: ['^array/']

View File

@@ -1,3 +1,3 @@
touched-a-pdf-file: touched-a-pdf-file:
- changed-files: - changed-files:
- any: ['*.pdf'] - any: ['*.pdf']

View File

@@ -134,7 +134,7 @@ describe('run', () => {
}); });
}); });
it('it can support multiple branches by batching', async () => { it('can support multiple branches by batching', async () => {
github.context.payload.pull_request!.head = {ref: 'fix/123'}; github.context.payload.pull_request!.head = {ref: 'fix/123'};
usingLabelerConfigYaml('branches.yml'); usingLabelerConfigYaml('branches.yml');
await run(); await run();
@@ -148,7 +148,7 @@ describe('run', () => {
}); });
}); });
it('it can support multiple branches by providing an array', async () => { it('can support multiple branches by providing an array', async () => {
github.context.payload.pull_request!.head = {ref: 'array/123'}; github.context.payload.pull_request!.head = {ref: 'array/123'};
usingLabelerConfigYaml('branches.yml'); usingLabelerConfigYaml('branches.yml');
await run(); await run();