feat(ci): release notify (#94)

This commit is contained in:
banteg
2026-01-12 06:05:15 +04:00
committed by GitHub
parent a1090bdf83
commit bc1319b73d
4 changed files with 72 additions and 6 deletions
+3 -3
View File
@@ -20,15 +20,15 @@ jobs:
include:
- task: format
do_sync: true
command: uv run --no-sync ruff format --check --diff
command: uv run --no-sync ruff format --check --diff src tests
sync_args: --no-install-project
- task: ruff
do_sync: true
command: uv run --no-sync ruff check . --output-format=github
command: uv run --no-sync ruff check src tests --output-format=github
sync_args: --no-install-project
- task: ty
do_sync: true
command: uv run --no-sync ty check .
command: uv run --no-sync ty check src tests
sync_args: --no-install-project
- task: pytest
do_sync: true
+17
View File
@@ -95,6 +95,15 @@ jobs:
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Install uv
uses: astral-sh/setup-uv@v7
with:
python-version: "3.14"
enable-cache: true
- name: Download dist artifacts
uses: actions/download-artifact@v4
with:
@@ -107,3 +116,11 @@ jobs:
generate_release_notes: true
files: |
dist/*
- name: Notify release
run: uv run scripts/release_notify.py
env:
REPO: ${{ github.repository }}
TAG_NAME: ${{ github.ref_name }}
TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }}
TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }}