Will it work on GHE? I've tried to set it up on my GHE server, but it fails on check-write-access.
Is it possible that it tries to access API on github.com?
From
|
const octokit = options.octokit ?? new Octokit({ auth: token }); |
looks like Octokit does not recive baseUrl and defaults to github.com.
Run node "/home/runner/actions-runner/_work/_actions/openai/codex-action/v1/dist/main.js" check-write-access
node "/home/runner/actions-runner/_work/_actions/openai/codex-action/v1/dist/main.js" check-write-access
--allow-bots "true"
--allow-users ""
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
env:
GITHUB_TOKEN: ***
Checking write access for actor 'jaroslaw-buryk' on xxxx
GET /repos/xxxx/collaborators/jaroslaw-buryk/permission - 401 with id BB02:CBAD6:2ADFC3:28366F:68E78D65 in 194ms
Actor 'jaroslaw-buryk' is not permitted to run this action: Failed to verify permissions for 'jaroslaw-buryk': Bad credentials - https://docs.github.com/rest
/home/runner/actions-runner/_work/_actions/openai/codex-action/v1/dist/main.js:27795
throw new Error(message);
Will it work on GHE? I've tried to set it up on my GHE server, but it fails on check-write-access.
Is it possible that it tries to access API on github.com?
From
codex-action/src/checkActorPermissions.ts
Line 106 in 0cb7e27
Run node "/home/runner/actions-runner/_work/_actions/openai/codex-action/v1/dist/main.js" check-write-access
node "/home/runner/actions-runner/_work/_actions/openai/codex-action/v1/dist/main.js" check-write-access
--allow-bots "true"
--allow-users ""
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
env:
GITHUB_TOKEN: ***
Checking write access for actor 'jaroslaw-buryk' on xxxx
GET /repos/xxxx/collaborators/jaroslaw-buryk/permission - 401 with id BB02:CBAD6:2ADFC3:28366F:68E78D65 in 194ms
Actor 'jaroslaw-buryk' is not permitted to run this action: Failed to verify permissions for 'jaroslaw-buryk': Bad credentials - https://docs.github.com/rest
/home/runner/actions-runner/_work/_actions/openai/codex-action/v1/dist/main.js:27795
throw new Error(message);