Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/reusable-ferrflow-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ jobs:
# Lets cargo-based postBump hooks read the private Kellnr index.
# Empty (and unused) for repos that don't consume Kellnr.
CARGO_REGISTRIES_KELLNR_TOKEN: ${{ secrets.CARGO_REGISTRIES_KELLNR_TOKEN }}
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_FERRLABS_REGISTRY_TOKEN }}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: the name mismatch is explained in the PR description but not in the file. Someone reading just the YAML sees CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_FERRLABS_REGISTRY_TOKEN }}, assumes a typo, "fixes" it to secrets.CARGO_REGISTRY_TOKEN, and publishing silently breaks again. The Kellnr line above carries a comment; this one should too.

Suggested change
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_FERRLABS_REGISTRY_TOKEN }}
# crates.io credential. The names deliberately differ: the org secret
# that actually publishes to crates.io is CARGO_FERRLABS_REGISTRY_TOKEN,
# not the identically-named CARGO_REGISTRY_TOKEN. See #355.
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_FERRLABS_REGISTRY_TOKEN }}

with:
dry_run: ${{ inputs.dry-run }}
force_version: ${{ inputs.force-version }}
Expand Down Expand Up @@ -116,6 +117,7 @@ jobs:
- uses: FerrLabs/FerrFlow@426168a76625bb663c397fb0b5a21e4aefdecc68 # v7.21.1
env:
CARGO_REGISTRIES_KELLNR_TOKEN: ${{ secrets.CARGO_REGISTRIES_KELLNR_TOKEN }}
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_FERRLABS_REGISTRY_TOKEN }}
with:
mode: publish
dry_run: ${{ inputs.dry-run }}
Expand Down
Loading