forked from blinxcorporation/EduTime-PHP
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Benson Makau <bensonmakau2000@gmail.com>
- Loading branch information
1 parent
32b5635
commit b26076e
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Lint Code Base | ||
|
||
on: | ||
push: | ||
branches: [ "main", "dev" ] # Adjust the branches as needed | ||
pull_request: | ||
branches: [ "main", "dev" ] # Adjust the branches as needed | ||
|
||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Run Super-Linter | ||
uses: github/super-linter@v5 | ||
env: | ||
DEFAULT_BRANCH: main | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
VALIDATE_ALL_CODEBASE: true | ||
VALIDATE_YAML: true | ||
VALIDATE_JSON: true | ||
VALIDATE_MARKDOWN: true | ||
# Add other linters as needed |