Skip to content

Commit b394424

Browse files
committed
Modify concurrency group
1 parent d9adf7b commit b394424

2 files changed

Lines changed: 9 additions & 4 deletions

File tree

.github/workflows/lint.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
name: Python SDK Lint
22
on: [push, workflow_dispatch]
33

4+
concurrency:
5+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
6+
cancel-in-progress: true
7+
48
env:
59
PYTHON_VERSION: 3.9
610

.github/workflows/test.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,17 @@ on: [push, workflow_dispatch]
33

44
jobs:
55
test:
6-
runs-on: ${{ matrix.os }}
6+
runs-on: ubuntu-latest
77
strategy:
88
matrix:
9-
os: [ubuntu-latest]
109
python-version: [3.9]
1110
splunk-version: [9.4, latest]
1211
include:
13-
- os: ubuntu-latest
14-
python-version: 3.13
12+
- python-version: 3.13
1513
splunk-version: latest
14+
concurrency:
15+
group: ${{ github.workflow }}-py_${{ matrix.python-version }}-splunk_${{ matrix.splunk-version }}-${{ github.event.pull_request.number || github.ref }}
16+
cancel-in-progress: true
1617
steps:
1718
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
1819
- uses: ./.github/actions/setup-sdk-environment

0 commit comments

Comments
 (0)