Skip to content

chore(deps): update dependency mypy to v2 #6291

chore(deps): update dependency mypy to v2

chore(deps): update dependency mypy to v2 #6291

Workflow file for this run

# Copyright © Michal Čihař <michal@weblate.org>
#
# SPDX-License-Identifier: GPL-3.0-or-later
name: jsonschema update
on:
push:
branches:
- renovate/**
- dependabot/**
- main
paths:
- .github/workflows/schema-update.yml
- pyproject.toml
- docs/Makefile
permissions:
contents: read
jobs:
jsonschema-update:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
if: github.event_name != 'pull_request' && github.repository_owner == 'WeblateOrg'
with:
token: ${{ secrets.WEBLATE_CI_TOKEN }} # zizmor: ignore[secrets-outside-env]
persist-credentials: true
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
if: github.event_name != 'pull_request' && github.repository_owner != 'WeblateOrg'
with:
persist-credentials: true
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
if: github.event_name == 'pull_request'
with:
persist-credentials: false
- uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
with:
enable-cache: false
version: 0.11.11
- name: Set up Python
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
with:
python-version: '3.14'
- name: Install Python dependencies
run: |
uv sync --only-group schemas --only-group pre-commit
- run: make -C docs update-schemas
- name: Commit or create pull request (pre-commit-ci-lite)
uses: ./.github/actions/auto-commit
with:
message: 'docs: Update JSON schemas'
pr-branch: create-pull-request/jsonschema-update
pr-labels: |
dependencies
github-token: ${{ secrets.WEBLATE_CI_TOKEN }} # zizmor: ignore[secrets-outside-env]