Skip to content

Commit b4d58d9

Browse files
author
Herb McNew
authored
Merge pull request #14 from hjmcnew/super-linter
Enable linter
2 parents 5f5d461 + baf2a86 commit b4d58d9

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/super-linter.yml

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
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+
permissions:
10+
contents: read
11+
pull-requests: write
12+
13+
on:
14+
push:
15+
branches: [ "main" ]
16+
pull_request:
17+
branches: [ "main" ]
18+
jobs:
19+
run-lint:
20+
runs-on: ubuntu-latest
21+
steps:
22+
- name: Checkout code
23+
uses: actions/checkout@v4
24+
with:
25+
# Full git history is needed to get a proper list of changed files within `super-linter`
26+
fetch-depth: 0
27+
28+
- name: Lint Code Base
29+
uses: github/super-linter@v4
30+
env:
31+
VALIDATE_ALL_CODEBASE: false
32+
DEFAULT_BRANCH: "main"
33+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)