Closed ruxandrafed closed 3 months ago
@actions/github uses @octokit/core https://github.com/actions/toolkit/blob/main/packages/github/src/utils.ts#L5
@octokit/core docs mention this way of authentication https://github.com/octokit/core.js?tab=readme-ov-file#authentication
if we pass it this way it should be picked up instead of token https://github.com/actions/toolkit/blob/main/packages/github/src/internal/utils.ts#L16
token
@actions/github uses @octokit/core https://github.com/actions/toolkit/blob/main/packages/github/src/utils.ts#L5
@octokit/core docs mention this way of authentication https://github.com/octokit/core.js?tab=readme-ov-file#authentication
if we pass it this way it should be picked up instead of
token
https://github.com/actions/toolkit/blob/main/packages/github/src/internal/utils.ts#L16