Skip to content

CI: authenticate gh-aw-marketplace clone in marketplace compile integration job#27007

Merged
pelikhan merged 7 commits intomainfrom
copilot/fix-test
Apr 18, 2026
Merged

CI: authenticate gh-aw-marketplace clone in marketplace compile integration job#27007
pelikhan merged 7 commits intomainfrom
copilot/fix-test

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 18, 2026

The Integration Compile gh-aw-marketplace CI job failed at repository checkout with fatal: could not read Username for 'https://github.com' (exit 128). The workflow was cloning github/gh-aw-marketplace without explicit auth in a non-interactive runner.

  • Root cause

    • Clone step relied on unauthenticated HTTPS access, which can prompt for credentials and fail in Actions runners.
  • Change

    • Updated the clone command in .github/workflows/ci.yml to pass the workflow token via Git HTTP header for that operation.
  • Scope

    • Single-line change in the marketplace compile integration job; no behavioral changes outside this clone/auth path.
- git clone --depth 1 https://github.com/github/gh-aw-marketplace.git
+ git -c http.extraHeader="Authorization: ****** github.token }}" clone --depth 1 https://github.com/github/gh-aw-marketplace.git

Copilot AI and others added 3 commits April 18, 2026 10:09
This reverts commit c84e8e9.

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
@pelikhan pelikhan marked this pull request as ready for review April 18, 2026 10:36
Copilot AI review requested due to automatic review settings April 18, 2026 10:36
@pelikhan
Copy link
Copy Markdown
Collaborator

@copilot use built binary from build artifact instead of rebuilding in the job (see build job)

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Fixes a CI failure in the Integration Compile gh-aw-marketplace job by authenticating the git clone of github/gh-aw-marketplace in a non-interactive GitHub Actions runner.

Changes:

  • Update the clone command in .github/workflows/ci.yml to pass an Authorization header using the workflow token.
Show a summary per file
File Description
.github/workflows/ci.yml Adds auth to the gh-aw-marketplace clone step to prevent checkout failures in CI.

Copilot's findings

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 1/1 changed files
  • Comments generated: 1

Comment thread .github/workflows/ci.yml Outdated
@github-actions github-actions Bot mentioned this pull request Apr 18, 2026
@pelikhan
Copy link
Copy Markdown
Collaborator

@copilot review all comments

Copilot AI and others added 4 commits April 18, 2026 10:40
This reverts commit 0faf304.

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@pelikhan pelikhan merged commit 7dfeef6 into main Apr 18, 2026
50 checks passed
@pelikhan pelikhan deleted the copilot/fix-test branch April 18, 2026 10:55
Copilot AI requested a review from pelikhan April 18, 2026 10:55
Copilot stopped work on behalf of pelikhan due to an error April 18, 2026 10:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants