MCPcopy Create free account
hub / github.com/angular/dev-infra / run

Function run

github-actions/labeling/shared/labeling.ts:13–22  ·  view source on GitHub ↗

Run the commit message based labelling process.

(this: new () => T)

Source from the content-addressed store, hash-verified

11
12 /** Run the commit message based labelling process. */
13 static async run<T extends Labeling>(this: new () => T): Promise<void> {
14 const inst = new this();
15 try {
16 await inst.setup();
17 await inst.initialize();
18 await inst.run();
19 } finally {
20 await inst.tearDown();
21 }
22 }
23
24 /** Retrieve all of the data needed for the action. */
25 abstract initialize(): Promise<void>;

Callers

nothing calls this directly

Calls 2

initializeMethod · 0.45
runMethod · 0.45

Tested by

no test coverage detected