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
Limit agent PR workflows to the lightweight CI allowlist #2393
Agent-authored PRs were fanning out across many GitHub Actions workflows because most board/example/unit workflows included a pull_request trigger. Representative workflows already restricted push to master; the costly part was the broad PR trigger surface.
PR allowlist
Only these workflows should run automatically on PRs:
Linux unit tests: .github/workflows/unit_test_linux.yml
Linux example tests: .github/workflows/example_test_linux.yml
Windows and macOS unit/example workflows should stay available through push to master and manual dispatch, but should not run automatically on PRs. Same principle for other board builds.
Design
Remove pull_request triggers from active workflows outside the allowlist.
Keep or add push.branches: [master] for workflows that have push triggers.
Keep or add workflow_dispatch so standalone active workflows have manual Actions buttons.
Do not add new manual buttons to workflow_call templates unless they already define usable dispatch inputs; otherwise the button can appear runnable while missing caller-provided inputs.
Preserve workflow paths filters so master pushes remain scoped.
Add a repo script to apply/check the policy repeatably: ci/tools/gh/limit_agent_pr_workflows.py.
Activity