Skip to content

Commit 694528b

Browse files
authored
Create main.yml
1 parent f082aa7 commit 694528b

File tree

1 file changed

+53
-0
lines changed

1 file changed

+53
-0
lines changed

.github/workflows/main.yml

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

0 commit comments

Comments
 (0)