Merge pull request #1 from iskm/iskm-patch-1
Add GH Action to run linters on repo
This commit is contained in:
commit
381f51ef73
33
.github/workflows/main.yml
vendored
Normal file
33
.github/workflows/main.yml
vendored
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
---
|
||||||
|
name: dots
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
pull_request: null
|
||||||
|
|
||||||
|
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 }}
|
Loading…
Reference in New Issue
Block a user