mirror of
https://github.com/getsentry/sentry-for-ai.git
synced 2026-09-14 14:28:22 +08:00
6a9642c5b0
The release workflow handed deploy-plugins.yml every repository secret via `secrets: inherit`, including the release bot's private key, which that workflow never reads. Declare PLUGIN_DEPLOY_KEY under the called workflow's `on.workflow_call.secrets` and pass it by name instead, so a compromise of the deploy path reaches one App key rather than all of them. The declaration is optional because deploy-plugins.yml also runs on its own push and workflow_dispatch triggers, where it reads the repository secret directly. Fixes VULN-2697 Claude-Session: https://claude.ai/code/session_01MTuRfuS8BMpYuV8x6jnHFf Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>