Skip to content

Conversation

@Mossaka
Copy link
Collaborator

@Mossaka Mossaka commented Aug 14, 2025

No description provided.

Signed-off-by: Jiaxiao Zhou <duibao55328@gmail.com>
@dsyme dsyme merged commit 3e8cf26 into main Aug 14, 2025
6 checks passed
@dsyme dsyme deleted the mossaka/security-2 branch August 14, 2025 17:29
pelikhan added a commit that referenced this pull request Sep 4, 2025
…for pull request triggers (#58) (#309)

* Initial plan

* Implement fork: true/false field for pull-request triggers



* Add fork: false to test-proxy.md workflow as requested



* Implement enhanced fork filtering with array support and glob patterns

- Add forks: []string field support alongside legacy fork: boolean
- Implement glob pattern matching (e.g., "org/*") for organization-level fork allowlists
- Add BuildFromAllowedForks expression builder with startsWith() function support
- Update schema validation to include new forks array field
- Enhanced commentOutProcessedFieldsInOnSection to handle forks arrays
- Add comprehensive test coverage with 11+ new test scenarios
- Apply fork: false to example-engine-network-permissions.md as requested
- Maintain full backward compatibility with existing fork: true/false syntax
- forks array takes precedence over legacy fork field when both present
- All workflows compile successfully and tests pass



* Remove legacy fork: true/false support, keep only forks array with glob patterns



* Support single string and wildcard (*) for forks field in pull request triggers



---------

Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants