Add @octokit/plugin-request-log, to produce debug output for requests

Without this plugin, the debug setting is, effectively, meaningless as
none of the existing plugins produce log output.

The plugin writes the request options to octokit.log.debug, and response
times as *method path - status in ...ms* to octokit.log.info.
This commit is contained in:
Martijn Pieters 2023-03-30 16:00:56 +01:00
parent 98814c53be
commit 78f623b2da
No known key found for this signature in database
5 changed files with 1379 additions and 1300 deletions

View file

@ -38,6 +38,7 @@
"@actions/io": "^1.1.1",
"@octokit/core": "^3.5.1",
"@octokit/plugin-paginate-rest": "^2.17.0",
"@octokit/plugin-request-log": "^1.0.4",
"@octokit/plugin-rest-endpoint-methods": "^6.3.0",
"@octokit/plugin-retry": "^3.0.9",
"node-fetch": "^2.6.7"