gh-114788: Do not run JIT workflow on unrelated changes (#114789)

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
This commit is contained in:
Nikita Sobolev 2024-01-31 22:51:18 +03:00 committed by GitHub
parent 78c254582b
commit b25b7462d5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 11 additions and 2 deletions

View File

@ -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' }})