Enable concurrency to run one job only
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 1d5bde0..229f367 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -1,6 +1,9 @@
 name: test
 on:
   pull_request: {}
+concurrency:
+  group: ${{ github.head_ref }}
+  cancel-in-progress: true
 
 jobs:
   build-prometheus-ethtool-exporter: