Files
blog.pyaqa.ru/.woodpecker/types.yaml

27 lines
607 B
YAML

when:
- event: [push, pull_request]
branch: dev
steps:
- name: types
image: python:3.11
commands:
- pip install uv
- uv sync --no-dev --only-group types
- uv run mypy .
- name: comment-types
image: mcs94/gitea-comment
settings:
gitea_address: https://git.pi3c.ru
gitea_token:
from_secret: gitea_token
comment: >
✅ Build ${CI_BUILD_EVENT} of `${CI_REPO_NAME}` has status `${CI_BUILD_STATUS}`.
📝 Commit by ${CI_COMMIT_AUTHOR} on `${CI_COMMIT_BRANCH}`:
`${CI_COMMIT_MESSAGE}`
🌐 ${CI_BUILD_LINK}