update calling super linter

This commit is contained in:
Bret Fisher
2022-03-26 17:13:18 -04:00
committed by GitHub
parent 472af377a4
commit 47f70a2a49
2 changed files with 32 additions and 19 deletions

View File

@@ -0,0 +1,32 @@
---
name: Lint Code Base
on:
push:
branches: [main]
pull_request:
jobs:
call-super-linter:
name: Call Super-Linter
# use Reusable Workflows to call my linter config remotely
# 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
uses: bretfisher/super-linter-workflow/.github/workflows/super-linter.yaml@main
# Optional settings examples
# with:
# devops-only: false
# filter-regex-exclude: html/.*

View File

@@ -1,19 +0,0 @@
---
name: Lint Code Base
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
call-super-linter:
# use Reusable Workflows to call my linter config remotely
# https://docs.github.com/en/actions/learn-github-actions/reusing-workflows
uses: bretfisher/super-linter-workflow/.github/workflows/super-linter.yaml@main
with:
# disable common code linters
devops-only: true
# prevent scanning a comma separated regex list
#filter-regex-exclude: .*compose-sample-3/html/.*