Fix openclaw gateway: use OPENCLAW_GATEWAY_TOKEN env var#28
Merged
Conversation
- actions/checkout@v4 → @v6 (Node.js 20 deprecated) - 1password/load-secrets-action@v2 → @V3 (Node.js 20 deprecated) These were missed when the workflow was refactored for multi-host deployments, while other workflows in the repo were already updated. https://claude.ai/code/session_01EPuZkcSGc4zpbDDBvMd3Jz
The openclaw gateway doesn't support --token-file. Use the OPENCLAW_GATEWAY_TOKEN environment variable instead, reading the secret from the file at container start via a shell wrapper. https://claude.ai/code/session_01EPuZkcSGc4zpbDDBvMd3Jz
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.
Summary
--token-file /run/secrets/openclaw_gateway_tokenwithOPENCLAW_GATEWAY_TOKENenv var--token-file(docs) — it supports--token(inline) or theOPENCLAW_GATEWAY_TOKENenvironment variableexecinto the node processTest plan
https://claude.ai/code/session_01EPuZkcSGc4zpbDDBvMd3Jz