From 8b9c8776e17da95fce0facffca529f7546be3466 Mon Sep 17 00:00:00 2001 From: Jirka B Date: Wed, 18 Dec 2024 01:51:40 +0900 Subject: [PATCH 1/2] chore(ci): setting concurrency --- .github/workflows/testing.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 09efe9a0..5a7722ab 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -1,6 +1,13 @@ name: Testing -on: [push, pull_request] +on: + push: + branches: [main] + pull_request: {} + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref }} + cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} jobs: pytest: From e37ce5ec280cf3cd4589b374b4a98b4b56ba15f3 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 17 Dec 2024 16:53:45 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- .github/workflows/testing.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 5a7722ab..6016c8bd 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -6,8 +6,8 @@ on: pull_request: {} concurrency: - group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref }} - cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} + group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref }} + cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} jobs: pytest: