ci: improve filter in workflow#3827
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThis PR tightens security gates on PR-triggered build jobs in the GitHub Actions workflow. Four platform-specific jobs (Linux, Windows install-deps, Windows build, and Mac) now require pull requests to originate from the same repository as the workflow, in addition to the existing ChangesBuild Job Security Gates
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~5 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
@devinbinnie with these changes, PRs from forks can no longer trigger the desktop build jobs, even if someone labels them. With this change, do we expect any friction merging community PRs? Do we get them community contributions often? cc. @NARSimoes |
Yes we still do, however this just restricts the builds from being produced, which I don't think is a huge problem. Most community contributions are reviewed by me, so I think this just means that I would have to pull the code down and build it myself, which I'm okay doing. That said, is there a reason we're doing this or is it just for hardening? |
Summary
Ticket Link
https://mattermost.atlassian.net/browse/SEC-10310
Release Note