From: Nikita Sobolev Date: Wed, 31 Jan 2024 19:51:18 +0000 (+0300) Subject: gh-114788: Do not run JIT workflow on unrelated changes (#114789) X-Git-Tag: v3.13.0a4~232 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b25b7462d520f38049d25888f220f20f759bc077;p=thirdparty%2FPython%2Fcpython.git gh-114788: Do not run JIT workflow on unrelated changes (#114789) Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> --- diff --git a/.github/workflows/jit.yml b/.github/workflows/jit.yml index 3da729191812..22e0bdba53ff 100644 --- a/.github/workflows/jit.yml +++ b/.github/workflows/jit.yml @@ -1,10 +1,19 @@ name: JIT on: pull_request: - paths: '**jit**' + paths: + - '**jit**' + - 'Python/bytecodes.c' push: - paths: '**jit**' + paths: + - '**jit**' + - 'Python/bytecodes.c' workflow_dispatch: + +concurrency: + group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} + cancel-in-progress: true + jobs: jit: name: ${{ matrix.target }} (${{ matrix.debug && 'Debug' || 'Release' }})