chore: rebuild action

This commit is contained in:
Ivan Zosimov 2023-12-01 14:41:37 +01:00
parent 86039b0e74
commit 5f9ce8480a
2 changed files with 6 additions and 2 deletions

View file

@ -90213,9 +90213,11 @@ function getGitHubHttpHeaders() {
const token = core.getInput('token');
const auth = !token ? undefined : `token ${token}`;
const headers = {
authorization: auth,
accept: 'application/vnd.github.VERSION.raw'
};
if (auth) {
headers.authorization = auth;
}
return headers;
}
exports.getGitHubHttpHeaders = getGitHubHttpHeaders;

4
dist/setup/index.js vendored
View file

@ -127471,9 +127471,11 @@ function getGitHubHttpHeaders() {
const token = core.getInput('token');
const auth = !token ? undefined : `token ${token}`;
const headers = {
authorization: auth,
accept: 'application/vnd.github.VERSION.raw'
};
if (auth) {
headers.authorization = auth;
}
return headers;
}
exports.getGitHubHttpHeaders = getGitHubHttpHeaders;