mirror of
https://github.com/github/codeql-action.git
synced 2026-01-02 04:30:14 +08:00
use @actions/github
This commit is contained in:
@@ -294,7 +294,7 @@ async function getRemoteConfig(configFile: string): Promise<any> {
|
||||
throw new Error(getConfigFileRepoFormatInvalidMessage(configFile));
|
||||
}
|
||||
|
||||
const response = await api.client.repos.getContents({
|
||||
const response = await api.getApiClient().repos.getContents({
|
||||
owner: pieces.groups.owner,
|
||||
repo: pieces.groups.repo,
|
||||
path: pieces.groups.path,
|
||||
|
||||
Reference in New Issue
Block a user