Create linter.yml

This commit is contained in:
Maidul Islam
2022-11-27 20:27:58 -05:00
committed by GitHub
parent 798eb67296
commit 56acc4f888

23
.github/workflows/linter.yml vendored Normal file
View File

@@ -0,0 +1,23 @@
name: Lint Code Base
on:
push:
branches-ignore: [main]
pull_request:
branches: [main]
jobs:
build:
name: Lint Code Base
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Lint Code Base
uses: github/super-linter@v4
env:
VALIDATE_ALL_CODEBASE: false
DEFAULT_BRANCH: main
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}