git: use GitHub API for remoteSha if token provided

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax
2023-06-12 07:51:32 +02:00
parent acd3c9df19
commit b2a51dd6b4
5 changed files with 63 additions and 3 deletions

View File

@@ -51,6 +51,7 @@
"@actions/http-client": "^2.0.1",
"@actions/io": "^1.1.2",
"@actions/tool-cache": "^2.0.1",
"@octokit/plugin-rest-endpoint-methods": "^7.2.1",
"async-retry": "^1.3.3",
"csv-parse": "^5.4.0",
"handlebars": "^4.7.7",