diff --git a/examples/github_actions/ocr-review.yml b/examples/github_actions/ocr-review.yml index ffeefb5..71d567c 100644 --- a/examples/github_actions/ocr-review.yml +++ b/examples/github_actions/ocr-review.yml @@ -18,6 +18,10 @@ name: OpenCodeReview PR Review +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + on: pull_request: types: [opened] diff --git a/examples/gitlab_ci/.gitlab-ci.yml b/examples/gitlab_ci/.gitlab-ci.yml index 9bcd372..aa8ff1d 100644 --- a/examples/gitlab_ci/.gitlab-ci.yml +++ b/examples/gitlab_ci/.gitlab-ci.yml @@ -16,6 +16,8 @@ stages: code-review: stage: review + interruptible: true + resource_group: mr-review-$CI_MERGE_REQUEST_IID image: node:20 only: - merge_requests