aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/linter.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/linter.yml')
-rw-r--r--.github/workflows/linter.yml22
1 files changed, 22 insertions, 0 deletions
diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml
new file mode 100644
index 000000000..1b1ed931a
--- /dev/null
+++ b/.github/workflows/linter.yml
@@ -0,0 +1,22 @@
+name: Lint Pull Request
+
+# Documentation:
+# https://github.com/github/super-linter
+
+on:
+ pull_request:
+ branches: [master]
+jobs:
+ build:
+ name: Lint Code Base
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout Code
+ uses: actions/checkout@v2
+
+ - name: Lint Code Base
+ uses: github/super-linter@v3
+ env:
+ VALIDATE_ALL_CODEBASE: false
+ DEFAULT_BRANCH: master
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}