Skip to content

Fix regex exclude filter in super-linter.yml #5

Fix regex exclude filter in super-linter.yml

Fix regex exclude filter in super-linter.yml #5

Workflow file for this run

---
name: Run Super-Linter
# in quotes to avoid YAMLLint thinking it's a boolean
"on": push
jobs:
super-linter:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Python 3.11.4
uses: actions/setup-python@v3
with:
python-version: '3.11.4'
cache: 'pip'
- name: Install pip
run: python -m pip install --upgrade pip
- name: Install dependencies
run: pip install -r requirements.txt
- name: Lint Code Base
uses: super-linter/super-linter@v5
env:
VALIDATE_ALL_CODEBASE: false
FILTER_REGEX_EXCLUDE: 'data_.*\.txt'
DEFAULT_BRANCH: main
PYTHON_PYLINT_CONFIG_FILE: .pylintrc
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}