OpenWriterControle/.github/workflows
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
..
evals refactor(evals): consolidate documentation and enhance test infrastructure (#56) 2025-12-18 09:52:11 +00:00
create-release.yml ci(workflows): add automatic release creation and smart commit analysis (#61) 2025-12-18 14:08:09 +00:00
installer-checks.yml ci: Add advanced profile to CI smoke tests (#105) 2026-01-18 18:04:38 +00:00
opencode.yml PR agent Owner 2025-08-26 00:30:25 +01:00
post-merge-pr.yml fix(ci): remove [skip ci] from version bump commits (#50) 2025-12-09 14:20:34 +00:00
post-merge.yml.disabled feat(ci): implement PR-based version bumps with docs sync (#45) 2025-12-09 13:46:51 +00:00
pr-checks.yml chore: verify and stabilize main branch (#42) 2025-12-09 13:26:52 +00:00
sync-docs.yml feat: add PR template and automated doc sync workflow (#40) 2025-12-08 22:27:01 +00:00
update-registry.yml feat: add PR template and automated doc sync workflow (#40) 2025-12-08 22:27:01 +00:00
validate-registry.yml fix: make admin bypass work properly for bot PRs (#113) 2026-01-18 18:31:36 +00:00
validate-test-suites.yml chore: verify and stabilize main branch (#42) 2025-12-09 13:26:52 +00:00
VERSION_BUMP_GUIDE.md feat: add automatic version bumping to CI/CD workflow 2025-11-26 22:06:36 +00:00
WORKFLOW_AUDIT.md ci(workflows): add automatic release creation and smart commit analysis (#61) 2025-12-18 14:08:09 +00:00