zaproxy / actions-common

Common code for ZAP's GitHub Actions
Apache License 2.0
2 stars 20 forks source link

feat(throttle+retry): support octokit plugins #198

Open DeviaVir opened 2 months ago

DeviaVir commented 2 months ago

Related to https://github.com/zaproxy/action-full-scan/issues/59

I thought this would be a simple change, but it turned out that the octokit instance the plugins were compatible with, required ESM, and could not be used with rest at all, which means I had to rewrite much more than I wanted to.

I will test this in my own environments first, but wanted to contribute for early review.

For testing purposes:

Cheers.