OpenWriterControle/.github
Darren Hinde ac740fff06
fix: make admin bypass work properly for bot PRs (#113)
* fix: Add working admin bypass for validation workflow

- Implement skip_validation flag that actually works
- Admin can now bypass validation with: gh workflow run "Validate Registry on PR" -f pr_number=106 -f skip_validation=true
- Workflow exits successfully when bypassed
- Unblocks stuck bot PRs immediately

* fix: make admin bypass work properly for bot PRs

Problem:
- Bot PRs don't auto-trigger workflows (GitHub security)
- Repository ruleset requires 'validate-and-update' check to pass
- Admin bypass exited job early, never reporting status to PR
- Result: Bot PRs stuck, can't merge

Solution:
- Remove early 'exit 0' from admin bypass step
- Add skip_validation condition to all validation steps
- Job now completes successfully when bypassed
- GitHub registers check as PASSED
- PR can be merged

Changes:
- Updated workflow documentation with clear bypass instructions
- Added skip conditions to 11 validation steps
- Bypass now completes job instead of exiting early

Usage:
Actions → Validate Registry on PR → Run workflow
- Enter PR number
- Check 'skip_validation' for trusted bot PRs
- Check passes immediately, PR can merge
2026-01-18 18:31:36 +00:00
..
ISSUE_TEMPLATE feat: add GitHub discovery optimizations 2025-11-17 23:43:13 +00:00
workflows fix: make admin bypass work properly for bot PRs (#113) 2026-01-18 18:31:36 +00:00
PROJECT_CLI_GUIDE.md refactor: Rename repository to OpenAgents Control (#100) 2026-01-18 09:31:35 +00:00
pull_request_template.md feat: add PR template and automated doc sync workflow (#40) 2025-12-08 22:27:01 +00:00
WORKFLOW_AUDIT.md feat: repository review and MVI context system implementation (#85) 2026-01-09 14:02:15 +00:00