chore: add todo for later refactor

Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
blam
2021-03-31 13:58:35 +02:00
parent 164cc4c533
commit 77893b657a
@@ -102,6 +102,8 @@ export function createPublishGithubAction(options: {
);
}
// TODO(blam): Consider changing this API to have owner, repo interface instead of URL as the it's
// needless to create URL and then parse again the other side.
const { token } = await credentialsProvider.getCredentials({
url: `https://${host}/${encodeURIComponent(owner)}/${encodeURIComponent(
repo,