Replace GITHUB_AUTH_HEADER with GH_TOKEN#152
Merged
kevinbackhouse merged 1 commit intoGitHubSecurityLab:mainfrom Feb 18, 2026
Merged
Replace GITHUB_AUTH_HEADER with GH_TOKEN#152kevinbackhouse merged 1 commit intoGitHubSecurityLab:mainfrom
kevinbackhouse merged 1 commit intoGitHubSecurityLab:mainfrom
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR standardizes authentication configuration by removing the dedicated GITHUB_AUTH_HEADER environment variable and using GH_TOKEN (token-only) instead, with the Bearer prefix applied where needed.
Changes:
- Update the GitHub official toolbox to build the
Authorization: Bearer …header fromGH_TOKEN. - Update developer/run documentation and the Docker run helper to reference
GH_TOKEN. - Update the smoketest workflow to pass
GH_TOKEN(token-only) instead of a preformatted auth header.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
src/seclab_taskflow_agent/toolboxes/github_official.yaml |
Switches Authorization header construction to Bearer {{ env('GH_TOKEN') }}. |
docker/run.sh |
Updates usage instructions to export GH_TOKEN instead of GITHUB_AUTH_HEADER. |
README.md |
Updates the toolbox configuration example to use GH_TOKEN with a Bearer prefix. |
.github/workflows/smoketest.yaml |
Passes GH_TOKEN (raw token) into the smoketest job environment. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Kwstubbs
approved these changes
Feb 18, 2026
Merged
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.
I think these tokens will always be the same, so there's no reason to have two separate environment variables.