Skip to content

Commit

Permalink
Add/limit action run (#42)
Browse files Browse the repository at this point in the history
* `CHANGELOG.md` updated

* limit GitHub action run on `main` and `dev` branches

* exit if current pull request is draft

* add needs-on

* fix fail

* relax PR status condition

* remove draft logic

* Update CHANGELOG.md
  • Loading branch information
AHReccese authored Oct 23, 2024
1 parent cf13b8d commit e7162cc
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 @@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
### Added
- `DMetaBaseError` added to `dmeta/__init__.py`
### Changed
- GitHub actions are limited to the `dev` and `main` branches
- `Python 3.13` added to `test.yml`
## [0.2] - 2024-08-14
### Added
Expand Down

0 comments on commit e7162cc

Please sign in to comment.