mirror of
https://github.com/actions/labeler.git
synced 2025-12-12 12:37:48 +00:00
Fix linting and formatting
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
test-branch:
|
||||
- head-branch: "^test/"
|
||||
- head-branch: '^test/'
|
||||
|
||||
feature-branch:
|
||||
- head-branch: "/feature/"
|
||||
- head-branch: '/feature/'
|
||||
|
||||
bug-branch:
|
||||
- head-branch: "^bug/|fix/"
|
||||
- head-branch: '^bug/|fix/'
|
||||
|
||||
array-branch:
|
||||
- head-branch: ["^array/"]
|
||||
- head-branch: ['^array/']
|
||||
|
||||
@@ -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'};
|
||||
usingLabelerConfigYaml('branches.yml');
|
||||
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'};
|
||||
usingLabelerConfigYaml('branches.yml');
|
||||
await run();
|
||||
|
||||
Reference in New Issue
Block a user