Unverified Commit 93debd30 authored by Anton Lozhkov's avatar Anton Lozhkov Committed by GitHub
Browse files

[CI] Cancel pending jobs for PRs on new commits (#324)

Cancel pending jobs for PRs on new commits
parent 1b1d6444
...@@ -8,6 +8,10 @@ on: ...@@ -8,6 +8,10 @@ on:
branches: branches:
- main - main
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs: jobs:
check_code_quality: check_code_quality:
runs-on: ubuntu-latest runs-on: ubuntu-latest
......
...@@ -5,6 +5,10 @@ on: ...@@ -5,6 +5,10 @@ on:
branches: branches:
- main - main
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
env: env:
HF_HOME: /mnt/cache HF_HOME: /mnt/cache
OMP_NUM_THREADS: 8 OMP_NUM_THREADS: 8
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment