From 036891d09a79bcad4c98a112832d657018b05d94 Mon Sep 17 00:00:00 2001
From: Rafael Guterres Jeffman <rjeffman@redhat.com>
Date: Tue, 23 Nov 2021 16:35:44 -0300
Subject: [PATCH] shellcheck: Run shellcheck as a Github action.

Add shellcheck as an action to be executed on every PR.
---
 .github/workflows/lint.yml | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index d680f076..96b7f9a8 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -76,3 +76,11 @@ jobs:
         run: |
             pip install pylint==2.10.2
             pylint plugins --disable=import-error
+
+  shellcheck:
+    name: Shellcheck
+    runs-on: ubuntu-latest
+    steps:
+      - uses: actions/checkout@v2
+      - name: Run ShellCheck
+        uses: ludeeus/action-shellcheck@1.1.0
-- 
GitLab