about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/lint.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 207e076ec..d61bfe770 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: