Skip to content

Broken builds on GitHub Enterprise for bufaction v1.1 #143

Closed

Description

@cbusbey

Getting build failures on GHE for a previously stable build using bufaction/buf-action@v1 following the v1.1 release of buf-action

Run bufbuild/buf-action@v1
  with:
    version: 1.40.0
    pr_comment: false
    domain: buf.build
    github_actor: xxxxxxx
    github_token: ***
    setup_only: false
    exclude_imports: false
    lint: true
    format: true
    breaking: true
    push: false
    push_disable_create: false
    archive: false
  env:
    BUF_VERSION: 1.40.0
    GO_VERSION: xxxxxxxxxx
Running on GitHub Enterprise, using public GitHub API.
Warning: public_github_token not set, GitHub API requests may be limited
Error: Parameter token or opts.auth is required

Locking to bufaction/[email protected] resolves this issue.

Activity

  1. emcfarlane commented on Mar 24, 2025

    @emcfarlane
    Collaborator

    Hi @cbusbey sorry to hear your having issues. We think the issue is on configuration of the REST client for public GitHub: #144 . This is not required for your use case, and the initial client should now be fixed. Would you be willing to test this?

    - uses: bufbuild/buf-action@ed/fixEnterpriseOcktokit
    

    Thanks for reporting this issue.

  2. cbusbey commented on Mar 25, 2025

    @cbusbey
    Author

    Thanks @emcfarlane - the patch works 👍

    Run bufbuild/buf-action@ed/fixEnterpriseOcktokit
      with:
        version: 1.40.0
        pr_comment: false
        domain: buf.build
        github_actor: xxxxxxx
        github_token: ***
        setup_only: false
        exclude_imports: false
        lint: true
        format: true
        breaking: true
        push: false
        push_disable_create: false
        archive: false
      env:
        BUF_VERSION: 1.40.0
        GO_VERSION: 1.23.0
    Running on GitHub Enterprise, using public GitHub API.
    
  3. cbusbey commented on Mar 25, 2025

    @cbusbey
    Author

    Quick follow up question- will there be a 1.1.1 release with this fix and if so do you have an eta?

  4. emcfarlane commented on Mar 25, 2025

    @emcfarlane
    Collaborator

    Released in v1.1.1! I've left the branch (ed/fixEnterpriseOcktokit) alive, but will delete later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions