1
0
mirror of https://github.com/librenms/librenms-agent.git synced 2024-05-09 09:54:52 +00:00
Files
Jellyfrog 5444de823a Bump Super-linter (#372)
* Bump Super-linter

* Update linter.yml

* Update linter.yml

* Update linter.yml
2021-07-27 10:26:09 +02:00

37 lines
880 B
YAML

name: Lint Code Base
on:
push:
pull_request:
branches: [master]
jobs:
build:
name: Lint Code Base
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v2
with:
# Full git history is needed to get a proper list of changed files within `super-linter`
fetch-depth: 0
- name: Lint Code Base
uses: github/super-linter@v4
env:
FILTER_REGEX_INCLUDE: .*(agent-local|snmp)/.*
VALIDATE_ALL_CODEBASE: false
SUPPRESS_POSSUM: true
VALIDATE_BASH_EXEC: false
VALIDATE_PYTHON_FLAKE8: false
VALIDATE_PYTHON_MYPY: false
VALIDATE_PHP_PHPCS: false
VALIDATE_PHP_PSALM: false
SHELLCHECK_OPTS: --severity=warning
DEFAULT_BRANCH: master
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}