Skip to content

Commit

Permalink
Add/limit action run (#145)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
AHReccese authored Oct 22, 2024
1 parent 0fc734c commit 20e17f7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,16 @@

name: CI

on: [push, pull_request]
on:
push:
branches:
- main
- dev

pull_request:
branches:
- dev
- main

env:
TEST_PYTHON_VERSION: 3.9
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- PyMilo exception types added in `pymilo/exceptions/__init__.py`
- PyMilo exception types added in `pymilo/__init__.py`
### Changed
- GitHub actions are limited to the `dev` and `main` branches
- `Python 3.13` added to `test.yml`
## [1.0] - 2024-09-16
### Added
Expand Down

0 comments on commit 20e17f7

Please sign in to comment.