aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/linter-automated.yaml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/linter-automated.yaml')
-rw-r--r--.github/workflows/linter-automated.yaml18
1 files changed, 18 insertions, 0 deletions
diff --git a/.github/workflows/linter-automated.yaml b/.github/workflows/linter-automated.yaml
new file mode 100644
index 0000000..7ff4015
--- /dev/null
+++ b/.github/workflows/linter-automated.yaml
@@ -0,0 +1,18 @@
+name: "Shell script linter"
+on:
+ push:
+ branches:
+ - main
+ pull_request:
+
+jobs:
+ shellchecker:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+
+ - name: Shell Linter
+ uses: azohra/shell-linter@v0.6.0
+ with:
+ path: "src/**/*.sh"
+ severity: "error" # [style, info, warning, error] \ No newline at end of file