Repository navigation
ci: Remove secrets: inherit from changelog-preview workflow - #3946
Merged
oioki merged 1 commit intoAug 5, 2026
Conversation
The reusable getsentry/craft changelog-preview.yml workflow only uses the auto-provisioned GITHUB_TOKEN and doesn't declare any workflow_call secrets. Inheriting all repository secrets into it violates least privilege and isn't needed to make the workflow function. Unlike other repos with this same pattern, this workflow is active (not disabled) on GitHub, so it's fixed in place rather than removed. Refs VULN-2251 Co-Authored-By: Claude Sonnet 5 <[email protected]>
Contributor
Semver Impact of This PR⚪ None (no version bump detected) 📋 Changelog PreviewThis is how your changes will appear in the changelog. Features
Internal Changes
🤖 This preview updates automatically when you update the PR. |
oioki
enabled auto-merge
August 4, 2026 21:52
buenaflor
approved these changes
Aug 5, 2026
oioki
deleted the
alextarasov/vuln-2251-improper-authorization-vulnerability-in-getsentrysentry-dart
branch
August 5, 2026 10:22
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
changelog-preview.ymlusedsecrets: inheritwhen calling the reusablegetsentry/craft/.github/workflows/changelog-preview.yml, exposing every repository secret to the called workflow.inputsunderworkflow_call(nosecrets) and only reads the auto-provisioned${{ secrets.GITHUB_TOKEN }}, which reusable workflows already receive without inheritance.secrets: inheritentirely — no explicit secrets map is needed. Note: unlike most other repos with this exact pattern, this workflow isactiveon GitHub (not disabled), so it's fixed in place rather than deleted.Test plan
getsentry/craft/.github/workflows/changelog-preview.yml@cdb657ddeclares noworkflow_call.secretsand only usessecrets.GITHUB_TOKENactiveFixes VULN-2251
🤖 Generated with Claude Code