Skip to content

Commit 1edc9ba

Browse files
authored
Create main.yml
1 parent 49f428d commit 1edc9ba

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/main.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
##################################################
2+
# Run Mr Coxall's Super Linter against code base #
3+
##################################################
4+
---
5+
name: Mr Coxall's Super Linter
6+
on: [push, pull_request]
7+
jobs:
8+
run-linters:
9+
name: Mr Coxall's Super Linter
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Check out Git repository 🚦
13+
uses: actions/checkout@main
14+
- name: Run GitHub Super Linter 🚀
15+
uses: mr-coxall/super-linter@master
16+
env:
17+
VALIDATE_ALL_CODEBASE: true
18+
LINTER_RULES_PATH: /
19+
VALIDATE_CLANG_FORMAT: false
20+
VALIDATE_JAVASCRIPT_STANDARD: false
21+
VALIDATE_GOOGLE_JAVA_FORMAT: false
22+
VALIDATE_PYTHON_FLAKE8: false
23+
VALIDATE_GITLEAKS: false # for secrets detection
24+
VALIDATE_JSON: false
25+
VALIDATE_JSCPD: false # for copy and paste detection
26+
DEFAULT_BRANCH: main
27+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)