r.watersheds: New addon for OpenMP parallel watershed delineation based on Cho (2025) #2314
Workflow file for this run
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@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 | |
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@b92721f792f381cedc002ecdbb9847a15ece5bb8 # v7.1.0 | |
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 |