Commit dac4a2c
CI: restrict push trigger to main/dev to avoid duplicate runs on PRs
python-test.yml and examples.yml declared both 'on: push' and 'on: pull_request'
with no branch filter, so a push to a PR branch triggered each workflow twice
(once for push on the branch HEAD, once for pull_request on the merge commit).
Filtering the push trigger to [main, dev] (matching performance-test.yml) means
feature-branch pushes run only the pull_request instance.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 399888e commit dac4a2c
2 files changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
| 6 | + | |
5 | 7 | | |
6 | 8 | | |
7 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
| 7 | + | |
6 | 8 | | |
7 | 9 | | |
8 | 10 | | |
| |||
0 commit comments