From db5cb64df67f36d4e74e3199523337bebed02864 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Th=C3=A9o=20LUDWIG?= <contact@theoludwig.fr>
Date: Thu, 23 May 2024 23:01:36 +0200
Subject: [PATCH] ci: correct lint:commit

---
 .github/workflows/ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index f4c6306..0886c91 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -20,7 +20,7 @@ jobs:
 
       - run: "npm clean-install"
       - run: "npm run expo:typed-routes"
-      - run: 'echo "${CI_COMMIT_MESSAGE}" | npm run lint:commit'
+      - run: npm run lint:commit -- --to "${{ github.sha }}"'
       - run: "npm run lint:prettier"
       - run: "npm run lint:eslint"
       - run: "npm run lint:typescript"
-- 
GitLab