mirror of
https://github.com/mshick/add-pr-comment.git
synced 2025-12-31 14:20:32 +11:00
chore: repackage
This commit is contained in:
parent
4aae273d68
commit
48269c3876
1 changed files with 3 additions and 1 deletions
4
dist/index.js
vendored
4
dist/index.js
vendored
|
|
@ -1989,11 +1989,13 @@ const core = __webpack_require__(470);
|
|||
const github = __webpack_require__(469);
|
||||
const { HttpClient, Headers } = __webpack_require__(539);
|
||||
|
||||
const previewHeader = "application/vnd.github.groot-preview+json";
|
||||
|
||||
const getPulls = async (repoToken, repo, commitSha) => {
|
||||
const http = new HttpClient("http-client-add-pr-comment");
|
||||
|
||||
const additionalHeaders = {
|
||||
[Headers.Accept]: "application/vnd.github.sailor-v-preview+json",
|
||||
[Headers.Accept]: previewHeader,
|
||||
[Headers.Authorization]: `token ${repoToken}`,
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue