From 18641f8bf0f6860aa3d2dfdf5ea324990e478d56 Mon Sep 17 00:00:00 2001 From: Antoine ROBIN Date: Sun, 12 Jan 2025 04:18:01 +0100 Subject: [PATCH] feat(linter): add mega linter --- .github/workflows/mega-linter.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/mega-linter.yml b/.github/workflows/mega-linter.yml index c8aeede..aed198f 100644 --- a/.github/workflows/mega-linter.yml +++ b/.github/workflows/mega-linter.yml @@ -33,7 +33,12 @@ jobs: passphrase: ${{ secrets.PASSPHRASE }} trust_level: 5 + - name: Prepare commit + if: steps.megalinter.outputs.has_updated_sources == 1 + run: sudo chown -Rc $UID .git/ + - name: Sign commit and push changes + if: steps.megalinter.outputs.has_updated_sources == 1 run: | git add . git commit -S -m "[MegaLinter] Apply linters fixes"