Skip to content

Commit

Permalink
enhance(ci): auto cancel the previous run (#2906)
Browse files Browse the repository at this point in the history
  • Loading branch information
jialeicui authored Oct 26, 2023
1 parent 3d271c4 commit 67006e6
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 1 deletion.
1 change: 0 additions & 1 deletion .github/file-filter.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
client:
- "**/*.py"
- "client/**"
- ".github/workflows/client.yaml"

console:
- "console/**"
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/client.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ on:
branches:
- main

concurrency:
group: '${{ github.workflow }} @ ${{ github.ref }}'
cancel-in-progress: true

jobs:
filter:
runs-on: ubuntu-latest
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/console.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ on:
branches:
- main

concurrency:
group: '${{ github.workflow }} @ ${{ github.ref }}'
cancel-in-progress: true

jobs:
filter:
runs-on: ubuntu-latest
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ on:
branches:
- main

concurrency:
group: '${{ github.workflow }} @ ${{ github.ref }}'
cancel-in-progress: true

env:
PYPI_RELEASE_VERSION: 100.0.0
RELEASE_VERSION: 0.0.0-dev
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/server-ut-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ on:
branches:
- main

concurrency:
group: '${{ github.workflow }} @ ${{ github.ref }}'
cancel-in-progress: true

jobs:
filter:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 67006e6

Please sign in to comment.