Merge pull request #6409 from OCHA-DAP/feature/HDX-10024-signals-form… #23
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: HDX/CKAN linter | |
on: | |
push: | |
branches: [ '**' ] | |
pull_request: | |
# The branches below must be a subset of the branches above | |
branches: [ dev ] | |
jobs: | |
linter: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Install ruff linter | |
run: pip install ruff | |
- name: Run ruff linter for ckanext-hdx_dataviz | |
run: ruff check ckanext-hdx_dataviz | |
continue-on-error: true | |
- name: Run ruff linter for ckanext-hdx_hxl_preview | |
run: ruff check ckanext-hdx_hxl_preview | |
continue-on-error: true | |
- name: Run ruff linter for ckanext-hdx_office_preview | |
run: ruff check ckanext-hdx_office_preview | |
continue-on-error: true | |
- name: Run ruff linter for ckanext-hdx_org_group | |
run: ruff check ckanext-hdx_org_group | |
continue-on-error: true | |
- name: Run ruff linter for ckanext-hdx_package | |
run: ruff check ckanext-hdx_package | |
continue-on-error: true | |
- name: Run ruff linter for ckanext-hdx_pages | |
run: ruff check ckanext-hdx_pages | |
continue-on-error: true | |
- name: Run ruff linter for ckanext-hdx_search | |
run: ruff check ckanext-hdx_search | |
continue-on-error: true | |
- name: Run ruff linter for ckanext-hdx_service_checker | |
run: ruff check ckanext-hdx_service_checker | |
continue-on-error: true | |
- name: Run ruff linter for ckanext-hdx_theme | |
run: ruff check ckanext-hdx_theme | |
continue-on-error: true | |
- name: Run ruff linter for ckanext-hdx_user_extra | |
run: ruff check ckanext-hdx_user_extra | |
continue-on-error: true | |
- name: Run ruff linter for ckanext-hdx_users | |
run: ruff check ckanext-hdx_users | |
continue-on-error: true | |
- name: Run ruff linter for ckanext-sitemap | |
run: ruff check ckanext-sitemap | |
continue-on-error: true | |
- name: Run ruff linter for ckanext-ytp-request | |
run: ruff check ckanext-ytp-request | |
continue-on-error: true |