mirror of
https://github.com/actions/labeler.git
synced 2025-12-13 04:57:21 +00:00
Format
This commit is contained in:
@@ -105,7 +105,7 @@ describe("run", () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
it("adds labels based on the branch names that match the glob pattern", async () => {
|
it("adds labels based on the branch names that match the glob pattern", async () => {
|
||||||
github.context.payload.pull_request!.head = {ref: "test/testing-time"};
|
github.context.payload.pull_request!.head = { ref: "test/testing-time" };
|
||||||
usingLabelerConfigYaml("branches.yml");
|
usingLabelerConfigYaml("branches.yml");
|
||||||
await run();
|
await run();
|
||||||
|
|
||||||
@@ -119,7 +119,9 @@ describe("run", () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
it("adds labels based on branch names that match different glob patterns", async () => {
|
it("adds labels based on branch names that match different glob patterns", async () => {
|
||||||
github.context.payload.pull_request!.head = {ref: "my/feature/that-i-like"};
|
github.context.payload.pull_request!.head = {
|
||||||
|
ref: "my/feature/that-i-like",
|
||||||
|
};
|
||||||
usingLabelerConfigYaml("branches.yml");
|
usingLabelerConfigYaml("branches.yml");
|
||||||
await run();
|
await run();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user