Skip to content

Commit

Permalink
Add TODOs
Browse files Browse the repository at this point in the history
  • Loading branch information
tillydray committed Dec 7, 2022
1 parent 3e20f3d commit 0bca79b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/labeler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,16 @@ export async function run() {
console.log("Could not get pull request number from context, exiting");
return;
}
/* TODO
*
* [Assigns labels based on branch names](https://github.com/actions/labeler/pull/203/files)
*
* - [ ] get list of provided actors
* - [ ] if list is nonempty, get actor https://github.com/actions/toolkit/blob/main/packages/github/src/context.ts#L17
* - [ ] find actor in list of provided actors
* - [ ] if found, add label(s)
* - [ ] if not found, do nothing
* */

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

Expand Down

0 comments on commit 0bca79b

Please sign in to comment.