From c816f8908086c8e06d2a477b783201f80d491f9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Doma=C5=84ski?= Date: Mon, 20 May 2024 12:28:27 +0200 Subject: [PATCH] [actions] bump name and on --- .github/workflows/python.yml | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index b8a807b..9fd82ac 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -1,9 +1,26 @@ name: Python lint and test -on: [push, pull_request] +on: + push: + branches: + - main + - 'releases/**' + paths: + - '**.py' + pull_request: + branches: + - main + - 'releases/**' + paths: + - '**.py' jobs: - lint: + lint-test: + runs-on: ubuntu-latest + steps: + +jobs: + lint-test: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4