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