chore: add golangci-lint to ci#79
Closed
lsytj0413 wants to merge 1 commit into
Closed
Conversation
583dbba to
e34f07d
Compare
mrgoonie
added a commit
that referenced
this pull request
May 28, 2026
) * fix(ci): base64-encode zuey SSH key secret to dodge libcrypto error First real deploy_zuey_beta run failed at the new 'Sync zuey ops scripts to VPS' step with 'Load key: error in libcrypto' / Permission denied, because GitHub Secrets storage normalized newlines inside the multi-line PEM block. Switch the secret to ZUEY_SSH_PRIVATE_KEY_B64 (single-line base64) and base64 -d it on the runner. Single-line storage is immune to whitespace mangling. Add a ssh-keygen -y -f pre-flight check that fails fast with a clear remediation message if either the base64 or the decoded key is malformed. Refs: workflow run 26499549166 * fix(ci): create SSH key at 0600 from birth via umask 077 Defense-in-depth from review of PR #79: wrap the base64-decode pipeline in a subshell that sets umask 077 so the decoded private key file is created at 0600 directly, instead of relying on a chmod 0600 after the fact (which left a brief 0644 window).
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.
No description provided.