You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ci: Sanitize upstream workflow triggers during sync (#65)
## Summary
🤖 Generated with [Nori](https://www.npmjs.com/package/nori-ai)
- Adds workflow sanitization to `upstream-sync.yml` that replaces all
`on:` trigger blocks with `on: workflow_dispatch` in pulled upstream
workflows
- Prevents upstream workflows from running automatically in fork
branches
- Includes test script with fixtures for various `on:` patterns
## Changes
- Add awk-based YAML processing to replace `on:` blocks
- Exclude fork-specific workflows (`upstream-sync.yml`, `rust-ci.yml`)
- Commit sanitization as part of sync branch creation
- Include sanitized file list in PR body and summary
## Test Plan
- [x] Ran local test script: `scripts/test-sanitize/test-sanitize.sh` (4
tests pass)
- [x] Manual verification: trigger workflow with `dry_run=true` to
verify logic
Share Nori with your team: https://www.npmjs.com/package/nori-ai
---------
Co-authored-by: Nori <noreply@tilework.tech>
0 commit comments