Run the commit message based labelling process.
(this: new () => T)
| 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>; |
nothing calls this directly
no test coverage detected