diff --git a/.github/workflows/mr_ci.yml b/.github/workflows/mr_ci.yml index fef6e30b..0f4462bd 100644 --- a/.github/workflows/mr_ci.yml +++ b/.github/workflows/mr_ci.yml @@ -1,7 +1,10 @@ --- name: Units Tests -on: [push] +on: + pull_request: + branches: + - main jobs: diff --git a/.github/workflows/mr_ci_text_spotting.yml b/.github/workflows/mr_ci_text_spotting.yml index d321d7bc..43bc3f1d 100644 --- a/.github/workflows/mr_ci_text_spotting.yml +++ b/.github/workflows/mr_ci_text_spotting.yml @@ -1,7 +1,10 @@ --- name: Units Tests - Text Spotting -on: [push] +on: + pull_request: + branches: + - main # Run linter with github actions for quick feedbacks. jobs: diff --git a/.github/workflows/publish-to-conda-forge.yml b/.github/workflows/publish-to-conda-forge.yml index e5950501..9b177cc3 100644 --- a/.github/workflows/publish-to-conda-forge.yml +++ b/.github/workflows/publish-to-conda-forge.yml @@ -4,6 +4,8 @@ name: Publish to Conda Forge on: workflow_dispatch: push: + branches: + - main tags: - v* diff --git a/.github/workflows/publish-to-pypi.yml b/.github/workflows/publish-to-pypi.yml index 502489b9..0ac400e6 100644 --- a/.github/workflows/publish-to-pypi.yml +++ b/.github/workflows/publish-to-pypi.yml @@ -4,6 +4,8 @@ name: Publish Tagged Python 🐍 distributions 📦 to PyPI on: workflow_dispatch: push: + branches: + - main tags: - v*