diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f3ff55bb7..65aebdf27 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,6 +4,10 @@ on: # Run workflow on fork repository will help contributors find and resolve issues before sending a PR. push: pull_request: +# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#concurrency +concurrency: + group: ${{ github.workflow }}-${{ github.actor }}-${{ github.head_ref || github.run_id }} + cancel-in-progress: true jobs: golangci: name: lint