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
{{ message }}
Repository navigation
evidence-pages.yml writes the generated branch on a workflow_dispatch from any ref (add a main-only guard) #4925
bugUnintended behavior or logic failure in the engineci-cdContinuous integration, delivery, and automated runnerspriority: mediumscope:infraCI, tooling, churn/factory, docs infrastructure
Found while reviewing #4924 (which added a main-only guard to its new publish-blockers job). .github/workflows/evidence-pages.yml publishes evidence pages to the shared generated branch. It is triggered by push: main (safe) andworkflow_dispatch, which has no ref check. A manual dispatch from a feature branch would overwrite generated with that branch's pages.
Fix: run the publish step only when github.ref == 'refs/heads/main'. On other refs, build the pages into a preview artifact instead, as #4924 does for blockers. Note it in docs/ci.md beside #4924's "Nightly blockers baseline" section.
bugUnintended behavior or logic failure in the engineci-cdContinuous integration, delivery, and automated runnerspriority: mediumscope:infraCI, tooling, churn/factory, docs infrastructure
Activity
ci: evidence-pages publishes to generated only from main; other refs …