From c7e5fa14f037e43f03bb990d346ec3bb9cf5106b Mon Sep 17 00:00:00 2001 From: Moritz Wolter Date: Fri, 7 Jun 2024 09:52:51 +0200 Subject: [PATCH] Update tests.yml --- .github/workflows/tests.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 7403759f..82b9a4c6 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -1,6 +1,10 @@ name: Tests -on: [ push ] +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] jobs: tests: @@ -68,4 +72,4 @@ jobs: - name: Install dependencies run: pip install nox - name: Run pyroma - run: nox -s check-package \ No newline at end of file + run: nox -s check-package