Closed IanVS closed 1 year ago
This is awkward but the types for Octokit aren't exposed so... that's fun.
Yeah the other option is to create it in each of the functions, but that seemed like a possible perf hit, so I figured the closure was the least-bad way to do this.
Oh, I see that https://github.com/cloudflare/pages-action/pull/37 does indeed create it in multiple places now.
Fixes https://github.com/cloudflare/pages-action/issues/41