Repository navigation
Use GitLab’s oauth2 username for CLI updater authentication - #324
Merged
Merged
Conversation
Co-authored-by: darrenoh <2293701+darrenoh@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix failing GitHub Actions job Check cached DevPanel CLI revision
Use GitLab’s Nov 12, 2026
oauth2 username for CLI updater authentication
darrenoh
marked this pull request as ready for review
November 12, 2026 05:17
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are reported for the token-only GitLab authentication update.
No open issues 🎉
What changed in this PR
Updates the DevPanel CLI updater to authenticate GitLab requests with the fixed oauth2 username and GITLAB_TOKEN, removing its dependency on GITLAB_USER.
Changes:
- Applies the same authentication to revision lookup, source fetching, and private-module Git requests.
- Updates setup documentation to require only a token with
read_repositoryaccess.
| File | Description |
|---|---|
TODO.md |
Updates authentication requirements and records the fix’s checklist. |
README.md |
Documents token-only setup using the oauth2 username. |
AGENTS.md |
Aligns workflow guidance with the revised authentication requirements. |
.github/workflows/update-devpanel-cli.yml |
Uses oauth2 throughout and removes GITLAB_USER configuration and validation. |
Review effort: Balanced
darrenoh
approved these changes
Nov 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The cached-revision job failed when GitLab rejected the upstream
ls-remoterequest and Git attempted an unavailable username prompt.oauth2username withGITLAB_TOKENfor revision lookup, source fetch, and private-module requests; remove theGITLAB_USERrequirement.read_repositorytoken.auth=$(printf 'oauth2:%s' "${GITLAB_TOKEN}" | base64 -w0)