Skip to content

Commit 20e17f7

Browse files
authored
Add/limit action run (#145)
* limit action runs on commits on `dev, main` branches and `pull requests` to the dev branch. * `CHANGELOG.md` updated * `CHANGELOG.md` updated * filter out `draft` pull requests * add `main` branch to PR action * check for draft status of PR * `CHANGELOG.md` updated * remove draft logic
1 parent 0fc734c commit 20e17f7

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

.github/workflows/test.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,16 @@
33

44
name: CI
55

6-
on: [push, pull_request]
6+
on:
7+
push:
8+
branches:
9+
- main
10+
- dev
11+
12+
pull_request:
13+
branches:
14+
- dev
15+
- main
716

817
env:
918
TEST_PYTHON_VERSION: 3.9

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
99
- PyMilo exception types added in `pymilo/exceptions/__init__.py`
1010
- PyMilo exception types added in `pymilo/__init__.py`
1111
### Changed
12+
- GitHub actions are limited to the `dev` and `main` branches
1213
- `Python 3.13` added to `test.yml`
1314
## [1.0] - 2024-09-16
1415
### Added

0 commit comments

Comments
 (0)