mirror of
https://github.com/microsoft/BCQuality.git
synced 2026-10-05 22:56:55 +01:00
PR #9's fix was wrong: 'workflows' is not a real GitHub Actions permission scope (verified list: actions, contents, issues, pull-requests, etc. - no 'workflows'). Merging it broke workflow_dispatch outright: Invalid Argument - failed to parse workflow: (Line: 21, Col: 3): Unexpected value 'workflows' GITHUB_TOKEN can never push .github/workflows/* changes - that's a hard GitHub restriction, not something the permissions: block controls. The correct fix is to never let the sync branch carry workflow-file changes in the first place: after a clean merge, restore .github/workflows from origin/main and amend. This also closes a latent risk - a clean upstream merge could otherwise silently overwrite QualityHub's own CI files (including this one) with whatever microsoft/BCQuality ships under the same paths. |
||
|---|---|---|
| .. | ||
| flag-new-top-level.yml | ||
| guard-custom-layer.yml | ||
| knowledge-index.yml | ||
| promote-stable.yml | ||
| upstream-watch.yml | ||
| validate-frontmatter.yml | ||