18.3 session : CVE-2025-24786 CVE-2025-24582 CVE-2025-15503 CVE-2025-13956 #1564
Workflow file for this run
This file contains hidden or 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: Lint | |
| on: | |
| pull_request: | |
| branches: [ master ] | |
| paths: | |
| - 'appsec-configs/**.md' | |
| - 'appsec-configs/**.yaml' | |
| - 'appsec-configs/**.yml' | |
| - 'appsec-rules/**.md' | |
| - 'appsec-rules/**.yaml' | |
| - 'appsec-rules/**.yml' | |
| - 'collections/**.md' | |
| - 'collections/**.yaml' | |
| - 'collections/**.yml' | |
| - 'contexts/**.md' | |
| - 'contexts/**.yaml' | |
| - 'contexts/**.yml' | |
| - 'parsers/**.md' | |
| - 'parsers/**.yaml' | |
| - 'parsers/**.yml' | |
| - 'postoverflows/**.md' | |
| - 'postoverflows/**.yaml' | |
| - 'postoverflows/**.yml' | |
| - 'scenarios/**.md' | |
| - 'scenarios/**.yaml' | |
| - 'scenarios/**.yml' | |
| - '.github/workflows/lint-index.yml' | |
| - "src/**" | |
| - "pyproject.toml" | |
| - "uv.lock" | |
| push: | |
| paths: | |
| - 'appsec-configs/**.md' | |
| - 'appsec-configs/**.yaml' | |
| - 'appsec-configs/**.yml' | |
| - 'appsec-rules/**.md' | |
| - 'appsec-rules/**.yaml' | |
| - 'appsec-rules/**.yml' | |
| - 'collections/**.md' | |
| - 'collections/**.yaml' | |
| - 'collections/**.yml' | |
| - 'contexts/**.md' | |
| - 'contexts/**.yaml' | |
| - 'contexts/**.yml' | |
| - 'parsers/**.md' | |
| - 'parsers/**.yaml' | |
| - 'parsers/**.yml' | |
| - 'postoverflows/**.md' | |
| - 'postoverflows/**.yaml' | |
| - 'postoverflows/**.yml' | |
| - 'scenarios/**.md' | |
| - 'scenarios/**.yaml' | |
| - 'scenarios/**.yml' | |
| - '.github/workflows/lint-index.yml' | |
| - "src/**" | |
| - "pyproject.toml" | |
| - "uv.lock" | |
| jobs: | |
| run-linter: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: checkout repo | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| ref: ${{ github.ref }} | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v5 | |
| with: | |
| version: 0.5.24 | |
| enable-cache: true | |
| cache-dependency-glob: "uv.lock" | |
| - name: set up python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version-file: ".python-version" | |
| - name: run hublint on new index | |
| run: | | |
| uv sync --all-extras --dev --locked | |
| uv run mkindex | |
| uv run hublint defaults > .hublint.toml | |
| uv run hublint check --color always --no-warning-details |