Skip to content

GitHub Enterprise support #32

@jaroslaw-buryk-lgs

Description

@jaroslaw-buryk-lgs

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);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions