Skip to content

Commit

Permalink
gh-114788: Do not run JIT workflow on unrelated changes (#114789)
Browse files Browse the repository at this point in the history
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
  • Loading branch information
sobolevn and hugovk committed Jan 31, 2024
1 parent 78c2545 commit b25b746
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/jit.yml
Original file line number Diff line number Diff line change
@@ -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' }})
Expand Down

0 comments on commit b25b746

Please sign in to comment.