Skip to content

Commit 86b65e5

Browse files
committed
Add super-linter
Signed-off-by: samhaswon <sahoward42@tntech.edu>
1 parent 4b490dd commit 86b65e5

1 file changed

Lines changed: 32 additions & 0 deletions

File tree

.github/workflows/super-linter.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# This workflow executes several linters on changed files based on languages used in your code base whenever
2+
# you push a code or open a pull request.
3+
#
4+
# You can adjust the behavior by modifying this file.
5+
# For more information, see:
6+
# https://github.com/github/super-linter
7+
name: Lint Code Base
8+
9+
on:
10+
push:
11+
branches: [ "main", "dev" ]
12+
pull_request:
13+
branches: [ "main", "dev" ]
14+
permissions:
15+
contents: read
16+
jobs:
17+
run-lint:
18+
runs-on: ubuntu-latest
19+
steps:
20+
- name: Checkout code
21+
uses: actions/checkout@v6
22+
with:
23+
# Full git history is needed to get a proper list of changed files within `super-linter`
24+
fetch-depth: 0
25+
26+
- name: Lint Code Base
27+
uses: github/super-linter@v4
28+
env:
29+
VALIDATE_ALL_CODEBASE: false
30+
VALIDATE_JAVASCRIPT_ES: false
31+
DEFAULT_BRANCH: "main"
32+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)