diff --git a/.github/workflows/pr-check.yaml b/.github/workflows/pr-check.yaml index 1e489c15..b5ac9d19 100644 --- a/.github/workflows/pr-check.yaml +++ b/.github/workflows/pr-check.yaml @@ -13,6 +13,10 @@ on: - '**.md' - '**.MD' +# If two events are triggered within a short time in the same PR, cancel the run of the oldest event +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number }} + cancel-in-progress: true jobs: validate-pr: