This commit is contained in:
mahabaleshwars 2025-07-17 16:36:53 +05:30 committed by GitHub
commit 1d1ef52548
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 158 additions and 173 deletions

View file

@ -93677,8 +93677,8 @@ function convertVersionToSemver(version) {
}
exports.convertVersionToSemver = convertVersionToSemver;
function getGitHubHttpHeaders() {
const token = core.getInput('token');
const auth = !token ? undefined : `token ${token}`;
const resolvedToken = process.env.GITHUB_TOKEN || core.getInput('token');
const auth = !resolvedToken ? undefined : `token ${resolvedToken}`;
const headers = {
accept: 'application/vnd.github.VERSION.raw'
};