Commit cdc142a
authored
🤖 ci: remove push trigger on main to avoid duplicate runs (#105)
## Changes
- Remove `push: branches: [main]` from CI and Build workflows
- Keep only `merge_group` and `pull_request` triggers
- Docs workflow keeps push trigger (has path filters, only deploys)
## Why
Currently, workflows run twice for every merge:
1. Once when PR enters merge queue (`merge_group` event)
2. Again after merging to main (`push` event)
This change eliminates the redundant post-merge runs, reducing CI costs
and execution time.
## Testing
After merge, verify that:
- ✅ Workflows run on PR creation/updates
- ✅ Workflows run when PR enters merge queue
- ❌ Workflows do NOT run after merge to main (except Docs when docs
change)
---
## Bonus: propose_plan tool improvement
Also updated the `propose_plan` tool description to instruct the agent
to always provide a recommendation when presenting options to the user.
_Generated with `cmux`_1 parent 5b27f80 commit cdc142a
File tree
3 files changed
+1
-4
lines changed- .github/workflows
- src/utils/tools
3 files changed
+1
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
6 | 4 | | |
7 | 5 | | |
8 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
6 | 4 | | |
7 | 5 | | |
8 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
| 146 | + | |
146 | 147 | | |
147 | 148 | | |
148 | 149 | | |
| |||
0 commit comments