From 62892372867301399a4b265fc24827e8f8f5c52a Mon Sep 17 00:00:00 2001 From: Marcel Johannesmann Date: Tue, 19 Sep 2023 23:42:40 +0200 Subject: [PATCH] core: reduce gh actions tirggers --- .github/workflows/black.yml | 7 +------ .github/workflows/linters.yml | 7 +------ .github/workflows/packaging_test.yml | 7 +------ .github/workflows/unittests.yml | 2 +- 4 files changed, 4 insertions(+), 19 deletions(-) diff --git a/.github/workflows/black.yml b/.github/workflows/black.yml index b6db4ea..63be4c1 100644 --- a/.github/workflows/black.yml +++ b/.github/workflows/black.yml @@ -1,11 +1,6 @@ name: "Black" -on: - # check formatting on any push to main and any open pull request - push: - branches: - - main - pull_request: {} +on: [push] jobs: black: runs-on: ${{ matrix.os }} diff --git a/.github/workflows/linters.yml b/.github/workflows/linters.yml index 5cf82bd..dd56539 100644 --- a/.github/workflows/linters.yml +++ b/.github/workflows/linters.yml @@ -1,11 +1,6 @@ name: "Linters" -on: - # run linters on any push to main and any open pull request - push: - branches: - - main - pull_request: {} +on: [push] jobs: pylint: name: Python Code Quality and Lint diff --git a/.github/workflows/packaging_test.yml b/.github/workflows/packaging_test.yml index 770ce5b..03e351c 100644 --- a/.github/workflows/packaging_test.yml +++ b/.github/workflows/packaging_test.yml @@ -1,11 +1,6 @@ name: "Packaging Test" -on: - # check packaging on any push to main and any open pull request - push: - branches: - - main - pull_request: {} +on: [push] jobs: coverage: runs-on: ${{ matrix.os }} diff --git a/.github/workflows/unittests.yml b/.github/workflows/unittests.yml index e97b5d9..f962770 100644 --- a/.github/workflows/unittests.yml +++ b/.github/workflows/unittests.yml @@ -1,6 +1,6 @@ name: "Unittests" -on: [ push, pull_request ] +on: [push] jobs: pytest: runs-on: ${{ matrix.os }}