2024 modelling data update #3416
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
on: | |
push: | |
branches: [master, main] | |
pull_request: | |
branches: [master, main] | |
name: super-linter | |
jobs: | |
lint: | |
name: lint | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
packages: read | |
statuses: write | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
# Full git history is needed to get a proper | |
# list of changed files within `super-linter` | |
fetch-depth: 0 | |
- name: Disable renv | |
shell: bash | |
run: rm etl/.Rprofile | |
- name: Lint | |
uses: github/super-linter@v6 | |
env: | |
VALIDATE_ALL_CODEBASE: false | |
DEFAULT_BRANCH: master | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
VALIDATE_MARKDOWN: false | |
# These tools are handled by pre-commit, so we don't need SuperLinter | |
# to run them as well | |
VALIDATE_CHECKOV: false | |
VALIDATE_SQLFLUFF: false | |
VALIDATE_PYTHON_BLACK: false | |
VALIDATE_PYTHON_FLAKE8: false | |
VALIDATE_PYTHON_ISORT: false | |
VALIDATE_PYTHON_PYLINT: false | |
VALIDATE_PYTHON_RUFF: false | |
# The natural language check slows down our velocity and is rarely | |
# helpful | |
VALIDATE_NATURAL_LANGUAGE: false | |
LINTER_RULES_PATH: / | |
YAML_CONFIG_FILE: .yamllint.yml |