Action to run linters on repo

This commit is contained in:
Ibrahim Mkusa 2024-11-04 17:48:44 -05:00 committed by GitHub
parent 7c7bf53a8c
commit 663db1ea3d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

32
.github/workflows/main.yml vendored Normal file
View File

@ -0,0 +1,32 @@
---
name: dots
on:
push: main
pull_request: main
permissions: {}
jobs:
build:
name: Lint
runs-on: ubuntu-latest
permissions:
contents: read
packages: read
# To report GitHub Actions status checks
statuses: write
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
# super-linter needs the full git history to get the
# list of files that changed across commits
fetch-depth: 0
- name: Super-linter
uses: super-linter/super-linter@v7.1.0
env:
GITHUB_TOKEN: ${{ secrets.SUPERLINTER }}