From 6a24716fe9fe56710540ed8f213d27692eff982f Mon Sep 17 00:00:00 2001 From: Richard R <58728519+rrjbca@users.noreply.github.com> Date: Sun, 8 Sep 2024 11:39:32 +0100 Subject: [PATCH] CI: Run tests and codestyle on release branches and tags --- .github/workflows/codestyle.yaml | 4 ++++ .github/workflows/tests.yaml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/.github/workflows/codestyle.yaml b/.github/workflows/codestyle.yaml index 09746787..8dd0fa39 100644 --- a/.github/workflows/codestyle.yaml +++ b/.github/workflows/codestyle.yaml @@ -4,10 +4,14 @@ on: branches: - main - module/* + - 'v*x' + tags: + - 'v*' pull_request: branches: - main - module/* + - 'v*x' jobs: flake8: runs-on: ubuntu-latest diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index d8402d15..2800cb6a 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -4,10 +4,14 @@ on: branches: - main - module/* + - 'v*x' + tags: + - 'v*' pull_request: branches: - main - module/* + - 'v*x' jobs: test: name: ${{ matrix.name }}