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
11 changes: 10 additions & 1 deletion .github/workflows/_release-rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,16 @@ jobs:

- name: Create or upload to release
env:
GH_TOKEN: ${{ github.token }}
# Publish with the caller's release PAT when provided, falling back to
# GITHUB_TOKEN. This is REQUIRED for the draft→publish flow to fire a
# *cascading* `release: published` event: GitHub suppresses workflow
# triggers for events produced by GITHUB_TOKEN, so a draft published by
# the bot is "sterile" — downstream release-triggered workflows (crates
# publish, package publish, etc.) never run. A PAT (or App token) makes
# the publish transition cascade. Direct create-publish happened to
# cascade before the draft→publish change; the draft-edit transition
# does not, so this token is now load-bearing.
GH_TOKEN: ${{ secrets.pgp_signer_token || github.token }}
TAG_NAME: ${{ github.ref_name }}
run: |
# Always create the release as a DRAFT first, attach every asset, and
Expand Down