Skip to content

Update actions/setup-python action to v5.1.0 (#1047) #69

Update actions/setup-python action to v5.1.0 (#1047)

Update actions/setup-python action to v5.1.0 (#1047) #69

Workflow file for this run

---
name: General linting
on:
push:
branches:
- grass[0-9]+
pull_request:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress:
# Do not cancel on protected branches, like grass8
${{ github.ref_protected != true }}
permissions: {}
jobs:
super-linter:
name: GitHub Super Linter
runs-on: ubuntu-latest
permissions:
contents: read
packages: read
# To report GitHub Actions status checks
statuses: write
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
with:
# super-linter needs the full git history to get the
# list of files that changed across commits
fetch-depth: 0
- name: Lint code base
uses: super-linter/super-linter@v6.3.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
FILTER_REGEX_EXCLUDE: ".*/src/gui/wxpython/wx.metadata/profiles/.*.xml"
IGNORE_GENERATED_FILES: true
LOG_LEVEL: NOTICE
VALIDATE_BASH: false # Until issues are fixed, some valid warnings
VALIDATE_CHECKOV: false # Until issues are fixed
VALIDATE_CLANG_FORMAT: false # Until we continue to check it in another workflow
VALIDATE_CPP: false # Until a configuration file is created to not contradict clang-format
VALIDATE_GITLEAKS: false # Until configured to ignore g.parser key in main.c files
VALIDATE_HTML: false # Until configured, some valid findings
VALIDATE_LATEX: false # Until issues are fixed, some valid findings
VALIDATE_NATURAL_LANGUAGE: false # Until issues are fixed, lots of valid suggestions
VALIDATE_PERL: false # Until issues are fixed
VALIDATE_PYTHON_BLACK: false # Until code is upgraded to a newer black version
VALIDATE_PYTHON_FLAKE8: false
VALIDATE_PYTHON_ISORT: false # Until issues are fixed
VALIDATE_PYTHON_MYPY: false # Issue with module name wx.wms
VALIDATE_PYTHON_PYLINT: false # Until issues are fixed
VALIDATE_R: false
VALIDATE_RENOVATE: false # Until configuration file is upgraded
VALIDATE_SHELL_SHFMT: false # Until reformatting failing files