Skip to content

Commit 06dc75b

Browse files
committed
Move concurrency to job level to prevent unrelated comments from interrupting in-progress reviews
1 parent c6236a4 commit 06dc75b

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

.github/workflows/codex-review.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,6 @@ on:
1212

1313
permissions: {}
1414

15-
concurrency:
16-
group: codex-review-${{ github.event.pull_request.number || github.event.issue.number }}
17-
cancel-in-progress: true
18-
1915
jobs:
2016
codex_review:
2117
if: |
@@ -32,6 +28,9 @@ jobs:
3228
&& contains(github.event.comment.body, '@Codex review')
3329
)
3430
)
31+
concurrency:
32+
group: codex-review-${{ github.event.pull_request.number || github.event.issue.number }}
33+
cancel-in-progress: true
3534
runs-on: blacksmith-2vcpu-ubuntu-2404
3635
permissions:
3736
contents: read

0 commit comments

Comments
 (0)