Skip to content

fix: refresh cross-repository authentication - #24

Merged
PANDAJSR merged 2 commits into
masterfrom
fix/opencode-verify-token
Sep 5, 2026
Merged

fix: refresh cross-repository authentication#24
PANDAJSR merged 2 commits into
masterfrom
fix/opencode-verify-token

Conversation

@PANDAJSR

@PANDAJSR PANDAJSR commented Sep 5, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • refresh SECTL_SECAGENT_GITHUB_TOKEN without a trailing newline
  • remove invalid Git config environment injection from the OpenCode action
  • keep GH_TOKEN available for cross-repository GitHub CLI operations

The latest run failed before OpenCode started with HTTP 401: Bad credentials in gh repo view. The repository secret had been written through a pipeline that could preserve an invalid credential value. The secret has now been rewritten from the active GitHub credential and verified against SECTL/secagent-official-relay.

The previous GIT_CONFIG_VALUE_0 injection was also removed: it passed a raw token in a Git header without the required base64 encoding and could corrupt the action environment. OpenCode's own token mode handles the primary repository authentication; cross-repository Git operations use GH_TOKEN and gh auth setup-git in the runner.

@PANDAJSR
PANDAJSR merged commit 3157532 into master Sep 5, 2026
3 checks passed
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.

1 participant