From 7c8b493c4230de21cc9800f3c38e9fb9a7b1a3e2 Mon Sep 17 00:00:00 2001 From: AmirHosein Rostami <32750909+AHReccese@users.noreply.github.com> Date: Thu, 24 Oct 2024 02:41:19 +0330 Subject: [PATCH] Add/limit gh action run (#58) * limit action run on `dev` and `main` branches * `CHANGELOG.md` updated --- .github/workflows/linux_test.yml | 11 ++++++++++- .github/workflows/macOS_test.yml | 11 ++++++++++- .github/workflows/windows_test.yml | 11 ++++++++++- CHANGELOG.md | 3 +++ 4 files changed, 33 insertions(+), 3 deletions(-) diff --git a/.github/workflows/linux_test.yml b/.github/workflows/linux_test.yml index fdb6e5e..0c74879 100644 --- a/.github/workflows/linux_test.yml +++ b/.github/workflows/linux_test.yml @@ -3,7 +3,16 @@ name: Linux -on: [push, pull_request] +on: + push: + branches: + - main + - dev + + pull_request: + branches: + - dev + - main env: TEST_PYTHON_VERSION: 3.9 diff --git a/.github/workflows/macOS_test.yml b/.github/workflows/macOS_test.yml index b6f652a..94b3bff 100644 --- a/.github/workflows/macOS_test.yml +++ b/.github/workflows/macOS_test.yml @@ -3,7 +3,16 @@ name: macOS -on: [push, pull_request] +on: + push: + branches: + - main + - dev + + pull_request: + branches: + - dev + - main env: TEST_PYTHON_VERSION: 3.9 diff --git a/.github/workflows/windows_test.yml b/.github/workflows/windows_test.yml index 2ec277c..2de5fa7 100644 --- a/.github/workflows/windows_test.yml +++ b/.github/workflows/windows_test.yml @@ -3,7 +3,16 @@ name: Windows -on: [push, pull_request] +on: + push: + branches: + - main + - dev + + pull_request: + branches: + - dev + - main env: TEST_PYTHON_VERSION: 3.9 diff --git a/CHANGELOG.md b/CHANGELOG.md index ff872cf..ba27373 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,9 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). ## [Unreleased] +### Added +### Changed +- GitHub actions are limited to the `dev` and `main` branches ## [0.7] - 2024-10-23 ### Changed - `Python 3.13` added to tests