diff --git a/.github/workflows/api-tests.yml b/.github/workflows/api-tests.yml index bfb1054639..6a45b49588 100644 --- a/.github/workflows/api-tests.yml +++ b/.github/workflows/api-tests.yml @@ -4,9 +4,16 @@ on: pull_request: branches: - main + paths: + - api/** + +concurrency: + group: api-tests-${{ github.head_ref || github.run_id }} + cancel-in-progress: true jobs: test: + name: API Tests runs-on: ubuntu-latest strategy: matrix: diff --git a/.github/workflows/style.yml b/.github/workflows/style.yml index bdbc22b489..e008e1e0a1 100644 --- a/.github/workflows/style.yml +++ b/.github/workflows/style.yml @@ -6,7 +6,7 @@ on: - main concurrency: - group: dep-${{ github.head_ref || github.run_id }} + group: style-${{ github.head_ref || github.run_id }} cancel-in-progress: true jobs: diff --git a/.github/workflows/tool-test-sdks.yaml b/.github/workflows/tool-test-sdks.yaml index 575ead4b3b..fb4bcb9d66 100644 --- a/.github/workflows/tool-test-sdks.yaml +++ b/.github/workflows/tool-test-sdks.yaml @@ -4,6 +4,13 @@ on: pull_request: branches: - main + paths: + - sdks/** + +concurrency: + group: sdk-tests-${{ github.head_ref || github.run_id }} + cancel-in-progress: true + jobs: build: name: unit test for Node.js SDK