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