CI(deps): Update actions/upload-artifact action to v4.5.0 (#1268) #2431
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
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@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
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@85f7611e0f7b53c8573cca84aa0ed4344f6f6a4d # v7.2.1 | |
env: | |
ENABLE_GITHUB_ACTIONS_STEP_SUMMARY: true | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
# By default, super-linter expect all linters to have their config | |
# files inside .github/linters. | |
# Setting it to the root of the repo for easier configuration here. | |
LINTER_RULES_PATH: . | |
FILTER_REGEX_EXCLUDE: ".*/src/gui/wxpython/wx.metadata/profiles/.*.xml" | |
IGNORE_GENERATED_FILES: true | |
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_HTML_PRETTIER: false # Until properly formatted | |
VALIDATE_JSCPD: false # Too many detections, should be enabled only for changed files | |
VALIDATE_JSON_PRETTIER: false # Until fixed | |
VALIDATE_JSONC_PRETTIER: false | |
VALIDATE_LATEX: false # Until issues are fixed, some valid findings | |
VALIDATE_MARKDOWN_PRETTIER: false # Until issues are fixed | |
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_PYINK: false # fork of black with different behavior | |
VALIDATE_PYTHON_PYLINT: false # Until issues are fixed | |
VALIDATE_PYTHON_RUFF: false # Until ruff is configured and most issues fixed | |
VALIDATE_R: false | |
VALIDATE_RENOVATE: false # Until configuration file is upgraded | |
VALIDATE_SHELL_SHFMT: false # Until reformatting failing files | |
MARKDOWN_CONFIG_FILE: .markdownlint.yml | |
YAML_CONFIG_FILE: .yamllint |