Skip to content

Commit 711a632

Browse files
committed
Merge: Optimize GitHub Actions to prevent duplicate runs on PRs
2 parents 7605599 + b2208a0 commit 711a632

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.github/workflows/tests.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,12 @@ name: Testing
22

33
on:
44
push:
5+
branches:
6+
- main
57
pull_request:
6-
types:
7-
- "reopened"
8-
- "opened"
8+
types:
9+
- "reopened"
10+
- "opened"
911
workflow_call:
1012
workflow_dispatch:
1113

CHANGES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## 5.0.1 (unreleased)
44

5-
- 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.
5+
- 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.
66
[jensens]
77

88
## 5.0.0 (2025-10-25)

0 commit comments

Comments
 (0)