Update README.md
This commit is contained in:
19
README.md
19
README.md
@@ -24,17 +24,34 @@ The GitHub [Super-Linter](https://github.com/marketplace/actions/super-linter) p
|
|||||||
name: Lint Code Base
|
name: Lint Code Base
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
|
||||||
push:
|
push:
|
||||||
branches: [main]
|
branches: [main]
|
||||||
|
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [main]
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
call-super-linter:
|
call-super-linter:
|
||||||
|
|
||||||
|
name: Call Super-Linter
|
||||||
|
|
||||||
# use Reusable Workflows to call my linter config remotely
|
# use Reusable Workflows to call my linter config remotely
|
||||||
# https://docs.github.com/en/actions/learn-github-actions/reusing-workflows
|
# https://docs.github.com/en/actions/learn-github-actions/reusing-workflows
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read # clone the repo to lint
|
||||||
|
statuses: write #read/write to repo custom statuses
|
||||||
|
|
||||||
#FIXME: customize uri to point to your forked linter repository
|
#FIXME: customize uri to point to your forked linter repository
|
||||||
uses: bretfisher/super-linter-workflow/.github/workflows/super-linter.yaml@main
|
uses: bretfisher/super-linter-workflow/.github/workflows/super-linter.yaml@main
|
||||||
|
|
||||||
|
# Optional settings examples
|
||||||
|
|
||||||
|
# with:
|
||||||
|
|
||||||
|
# devops-only: false
|
||||||
|
|
||||||
|
# filter-regex-exclude: html/.*
|
||||||
```
|
```
|
||||||
|
|
||||||
## How to run Super-Linter locally
|
## How to run Super-Linter locally
|
||||||
|
|||||||
Reference in New Issue
Block a user