12d365
From 4b9978afff2a8b084858c630032a3452bdca05c3 Mon Sep 17 00:00:00 2001
12d365
From: Jan Macku <jamacku@redhat.com>
12d365
Date: Tue, 15 Feb 2022 16:09:38 +0100
12d365
Subject: [PATCH] ci: Add Differential ShellCheck action
12d365
12d365
Related: #2054725
12d365
---
12d365
 .github/workflows/differential-shellcheck.yml | 17 +++++++++++++++++
12d365
 1 file changed, 17 insertions(+)
12d365
12d365
diff --git a/.github/workflows/differential-shellcheck.yml b/.github/workflows/differential-shellcheck.yml
12d365
new file mode 100644
12d365
index 00000000..b8b10eaa
12d365
--- /dev/null
12d365
+++ b/.github/workflows/differential-shellcheck.yml
12d365
@@ -0,0 +1,17 @@
12d365
+name: Differential ShellCheck
12d365
+on:
12d365
+  pull_request:
12d365
+    branches: [main]
12d365
+
12d365
+jobs:
12d365
+  test:
12d365
+    runs-on: ubuntu-20.04
12d365
+
12d365
+    steps: 
12d365
+      - name: Repository checkout
12d365
+        uses: actions/checkout@v3
12d365
+        with:
12d365
+          fetch-depth: 0
12d365
+
12d365
+      - name: Differential ShellCheck
12d365
+        uses: redhat-plumbers-in-action/differential-shellcheck@v1
12d365