The AUR publish step fails with "Permission denied (publickey)". Root cause is likely key formatting (Windows line endings from GitHub secrets UI) or missing public key registration on AUR. Changes: - Normalize line endings (strip \r) when writing SSH key - Set correct permissions on ~/.ssh (700) and ~/.ssh/config (600) - Validate key with ssh-keygen before attempting clone - Add SSH connectivity test for clearer error diagnostics Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| checks-on-pr.yml | ||
| ci-run.yml | ||
| cross-platform-build-manual.yml | ||
| master-branch-flow.md | ||
| pub-aur.yml | ||
| pub-homebrew-core.yml | ||
| pub-scoop.yml | ||
| publish-crates-auto.yml | ||
| publish-crates.yml | ||
| README.md | ||
| release-beta-on-push.yml | ||
| release-stable-manual.yml | ||
| tweet-release.yml | ||
Workflow Directory Layout
GitHub Actions only loads workflow entry files from:
.github/workflows/*.yml.github/workflows/*.yaml
Subdirectories are not valid locations for workflow entry files.
Repository convention:
- Keep runnable workflow entry files at
.github/workflows/root. - Keep cross-tooling/local CI scripts under
dev/orscripts/ci/when used outside Actions.
Workflow behavior documentation in this directory:
.github/workflows/master-branch-flow.md