Skip to content

Commit

Permalink
Create supersplinter.yaml
Browse files Browse the repository at this point in the history
Signed-off-by: Benson Makau <bensonmakau2000@gmail.com>
  • Loading branch information
makaubenson authored Jun 12, 2024
1 parent a51af42 commit 55bb40f
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/supersplinter.yaml
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

0 comments on commit 55bb40f

Please sign in to comment.