Skip to content

ci: disable npm publishing; skip apt-repo when GPG key unset - #45

Merged
plutoless merged 1 commit into
mainfrom
fix/release-pipeline
Jun 29, 2026
Merged

ci: disable npm publishing; skip apt-repo when GPG key unset#45
plutoless merged 1 commit into
mainfrom
fix/release-pipeline

Conversation

@plutoless

Copy link
Copy Markdown
Collaborator

Summary

Fixes the two failing jobs from the v0.2.7 release run. (goreleaser and the new mirror-to-s3 job already succeeded.)

  • Disable publish-npm in release.yml — the job is set to if: false; the original condition is preserved in a comment for easy re-enable.
  • Gate update-apt-repo on vars.APT_SIGNING_KEY_ID != '' so it skips cleanly when the GPG signing key/variable aren't configured, instead of failing the "Sign Release with GPG" step with no valid OpenPGP data found. Once APT_SIGNING_KEY (secret) + APT_SIGNING_KEY_ID (variable) are set, the job runs for real.

Test Plan

  • Both workflow files validate as YAML.
  • After merge: re-create the v0.2.7 tag → Release run shows goreleaser ✅, mirror-to-s3 ✅, publish-npm skipped; Apt Repository run skips (or runs, once the GPG key is configured).

🤖 Generated with Claude Code

- Disable the publish-npm job in the release workflow (if: false; original
  condition preserved in a comment for easy re-enable).
- Gate the update-apt-repo job on vars.APT_SIGNING_KEY_ID so it skips cleanly
  when the GPG signing key/variable are not configured, instead of failing the
  Sign Release with GPG step with 'no valid OpenPGP data found'.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@plutoless
plutoless merged commit aad8582 into main Jun 29, 2026
7 checks passed
@plutoless
plutoless deleted the fix/release-pipeline branch June 29, 2026 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant