Skip to content

Commit 3154e36

Browse files
committed
Fix: Add 'synchronize' event to PR workflow triggers
The workflow was missing 'synchronize' trigger type, causing it to not run when PRs are updated with new commits. This is needed to run CI on PR updates (e.g., after rebasing or pushing new commits). Trigger types now: - opened: New PR created - reopened: Closed PR reopened - synchronize: PR updated with new commits
1 parent 0bb0b0d commit 3154e36

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/tests.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88
types:
99
- "reopened"
1010
- "opened"
11+
- "synchronize"
1112
workflow_call:
1213
workflow_dispatch:
1314

CHANGES.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@
22

33
## 5.0.1 (unreleased)
44

5+
- Fix: Add 'synchronize' event to pull_request workflow triggers. This ensures CI runs when PRs are updated with new commits (e.g., after rebasing or pushing new changes), not just when opened or reopened.
6+
[jensens]
57
- Chore: Optimize GitHub Actions to prevent duplicate workflow runs on pull requests. Restrict `push` trigger to only run on `main` branch, so PRs only trigger via `pull_request` event. This reduces CI resource usage by 50% for PR workflows.
68
[jensens]
7-
- Fix: `process_line()` now correctly comments out packages in `override_keys` and `ignore_keys` for both requirements and constraints files. Previously, these settings only applied to constraints files (variety="c"). Now they work for requi## 5.0.0 (2025-10-25)rements files (variety="r") as well, with the message "-> mxdev disabled (version override)" for override_keys in requirements.
9+
- Fix: `process_line()` now correctly comments out packages in `override_keys` and `ignore_keys` for both requirements and constraints files. Previously, these settings only applied to constraints files (variety="c"). Now they work for requirements files (variety="r") as well, with the message "-> mxdev disabled (version override)" for override_keys in requirements.
810
[jensens]
911

1012
## 5.0.0 (2025-10-25)

0 commit comments

Comments
 (0)