We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3e20f3d commit 0bca79bCopy full SHA for 0bca79b
src/labeler.ts
@@ -22,6 +22,16 @@ export async function run() {
22
console.log("Could not get pull request number from context, exiting");
23
return;
24
}
25
+ /* TODO
26
+ *
27
+ * [Assigns labels based on branch names](https://github.com/actions/labeler/pull/203/files)
28
29
+ * - [ ] get list of provided actors
30
+ * - [ ] if list is nonempty, get actor https://github.com/actions/toolkit/blob/main/packages/github/src/context.ts#L17
31
+ * - [ ] find actor in list of provided actors
32
+ * - [ ] if found, add label(s)
33
+ * - [ ] if not found, do nothing
34
+ * */
35
36
const client: ClientType = github.getOctokit(token);
37
0 commit comments