Repository navigation
ci: Fix stale high_risk_code paths in file-filters - #7091
Merged
Merged
Conversation
The high_risk_code filter still pointed at pre-monorepo root paths (src/, scripts/, sentry.gradle.kts) that no longer exist since #4057, so the high-risk-code warning workflow never triggered. Prefix them with packages/core/. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
Semver Impact of This PR⚪ None (no version bump detected) 📋 Changelog PreviewThis is how your changes will appear in the changelog.
🤖 This preview updates automatically when you update the PR. |
Contributor
antonis
marked this pull request as ready for review
November 24, 2026 08:27
alwx
approved these changes
Nov 24, 2026
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.
📢 Type of change
📜 Description
Prefixes all 8 entries of the
high_risk_codefilter in.github/file-filters.ymlwithpackages/core/, so they match the files' current locations:src/js/vendor/react-native/index.ts,src/js/utils/rnlibraries.ts,src/js/utils/rnlibrariesinterface.tssrc/js/touchevents.tsxsrc/js/NativeRNSentry.tsscripts/sentry-xcode.sh,scripts/sentry-xcode-debug-files.shsentry.gradle.kts💡 Motivation and Context
The filter was added in #4129 (2024-10-07) using root paths that were correct on
mainat the time. A week later, the "Merge V6 to main" commit (e82ff9b, 2024-10-15) brought in the monorepo layout from #4057 and removed the rootsrc/, but the new filter was never rebased onto it. #6119 later renamedsentry.gradle→sentry.gradle.ktshere but kept the root path. As a result,changes-in-high-risk-code.ymlhas silently never flagged a high-risk change since 6.0.0. The newer filters in the same file already usepackages/core/....💚 How did you test it?
.github/file-filters.yml, so it won't trigger the warning itself; the next PR touching one of the listed files (e.g.NativeRNSentry.ts) should.📝 Checklist
sendDefaultPIIis enabled.🔮 Next steps
🤖 Generated with Claude Code