diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 207e076ecd..d61bfe7707 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -2,8 +2,12 @@ name: Lint on: pull_request: + push: branches: - main +concurrency: + group: '${{ github.workflow }}-${{ github.head_ref || github.ref }}' + cancel-in-progress: true jobs: linting: