From ad0225df3a7c5163c8a91ec0407ad3be3b3288e6 Mon Sep 17 00:00:00 2001
From: AnimeGitB <AnimeGitB@bigblueball.in>
Date: Thu, 21 Jul 2022 18:05:09 +0930
Subject: [PATCH] Make Lint_Commit not fail on no commit

---
 .github/workflows/lint_commit.yml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/lint_commit.yml b/.github/workflows/lint_commit.yml
index 684cbe4b..2b0f2a97 100644
--- a/.github/workflows/lint_commit.yml
+++ b/.github/workflows/lint_commit.yml
@@ -32,10 +32,10 @@ jobs:
       # - run: git merge development
       - run: git reset --hard development
       - run: git stash pop
-      - run: git add -u
-      - run: git commit -m 'Fix whitespace [skip actions]'
+      - name: Commit any whitespace changes
+        run: git add -u && git commit -m 'Fix whitespace [skip actions]' || true
       - name: Update Languages
         run: python manage_languages.py -u
-      - run: git add -u
-      - run: git commit -m 'Update languages [skip actions]'
+      - name: Commit any language changes
+        run: git add -u && git commit -m 'Update languages [skip actions]' || true
       - run: git push --set-upstream --force origin LintRatchet
-- 
GitLab