diff --git a/.github/workflows/call-super-linter.yaml b/.github/workflows/call-super-linter.yaml new file mode 100644 index 0000000..545652d --- /dev/null +++ b/.github/workflows/call-super-linter.yaml @@ -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/.* diff --git a/.github/workflows/linter.yaml b/.github/workflows/linter.yaml deleted file mode 100644 index cd04c15..0000000 --- a/.github/workflows/linter.yaml +++ /dev/null @@ -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/.*