Skip to content

Commit 0bca79b

Browse files
committed
Add TODOs
actions#100
1 parent 3e20f3d commit 0bca79b

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/labeler.ts

+10
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,16 @@ export async function run() {
2222
console.log("Could not get pull request number from context, exiting");
2323
return;
2424
}
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+
* */
2535

2636
const client: ClientType = github.getOctokit(token);
2737

0 commit comments

Comments
 (0)