* fix: refactor * fix: tests * fix: apply octokit plugin pattern
Co-authored-by: Tom Moor <tom.moor@gmail.com>