Skip to content

fix: pass social media secrets to release job for JReleaser announce#420

Merged
marc0der merged 1 commit into
masterfrom
fix/release-workflow-announce-secrets
Mar 29, 2026
Merged

fix: pass social media secrets to release job for JReleaser announce#420
marc0der merged 1 commit into
masterfrom
fix/release-workflow-announce-secrets

Conversation

@chloe41427
Copy link
Copy Markdown
Contributor

@chloe41427 chloe41427 Bot commented Mar 29, 2026

Problem

The release job in release.yml runs jreleaser release which includes the announce phase, but the Bluesky and Mastodon secrets are not mapped as environment variables. This causes JReleaser validation to fail:

[ERROR] announce.bluesky.handle must not be blank
[ERROR] announce.bluesky.password must not be blank
[ERROR] announce.mastodon.accessToken must not be blank

Fix

Add JRELEASER_MASTODON_ACCESS_TOKEN, JRELEASER_BLUESKY_HANDLE, and JRELEASER_BLUESKY_PASSWORD to the release step env, matching the pattern already used in promote.yml.

Note

Requires repo secrets MASTODON_ACCESS_TOKEN, BLUESKY_HANDLE, and BLUESKY_PASSWORD to be set (same ones used by promote workflow).

The release job runs 'jreleaser release' which includes the announce phase, but the Bluesky and Mastodon secrets were not mapped as environment variables. This caused announce to fail with validation errors after removing the __USE_ENVIRONMENT_VARIABLE__ placeholders in #419.
@marc0der marc0der merged commit 7a44f55 into master Mar 29, 2026
4 checks passed
@marc0der marc0der deleted the fix/release-workflow-announce-secrets branch March 29, 2026 15:00
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