mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Added full support of Bot API 7.9 (#1560)
* Added full support of Bot API 7.9 * Added changelog * Try to fix towncrier * Fixed towncrier check
This commit is contained in:
parent
1c323ecc97
commit
c3a08664d3
48 changed files with 817 additions and 114 deletions
14
.github/workflows/pull_request_changelog.yml
vendored
14
.github/workflows/pull_request_changelog.yml
vendored
|
|
@ -22,10 +22,10 @@ jobs:
|
|||
- name: Set up Python 3.10
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: "3.10"
|
||||
python-version: "3.12"
|
||||
|
||||
- name: Install towncrier
|
||||
run: pip install towncrier
|
||||
run: pip install -U towncrier
|
||||
|
||||
- name: Check changelog
|
||||
env:
|
||||
|
|
@ -36,7 +36,7 @@ jobs:
|
|||
|
||||
- name: Find bot comment
|
||||
if: "always()"
|
||||
uses: peter-evans/find-comment@v2
|
||||
uses: peter-evans/find-comment@v3
|
||||
id: fc
|
||||
with:
|
||||
issue-number: ${{ github.event.pull_request.number }}
|
||||
|
|
@ -45,7 +45,7 @@ jobs:
|
|||
|
||||
- name: Ask for changelog
|
||||
if: "failure()"
|
||||
uses: peter-evans/create-or-update-comment@v2
|
||||
uses: peter-evans/create-or-update-comment@v4
|
||||
with:
|
||||
edit-mode: replace
|
||||
comment-id: ${{ steps.fc.outputs.comment-id }}
|
||||
|
|
@ -65,7 +65,7 @@ jobs:
|
|||
|
||||
- name: Changelog found
|
||||
if: "success()"
|
||||
uses: peter-evans/create-or-update-comment@v2
|
||||
uses: peter-evans/create-or-update-comment@v4
|
||||
with:
|
||||
edit-mode: replace
|
||||
comment-id: ${{ steps.fc.outputs.comment-id }}
|
||||
|
|
@ -80,7 +80,7 @@ jobs:
|
|||
if: "contains(github.event.pull_request.labels.*.name, 'skip news')"
|
||||
steps:
|
||||
- name: Find bot comment
|
||||
uses: peter-evans/find-comment@v2
|
||||
uses: peter-evans/find-comment@v3
|
||||
id: fc
|
||||
with:
|
||||
issue-number: ${{ github.event.pull_request.number }}
|
||||
|
|
@ -88,7 +88,7 @@ jobs:
|
|||
body-includes: Changelog
|
||||
|
||||
- name: Comment when docs is not needed
|
||||
uses: peter-evans/create-or-update-comment@v2
|
||||
uses: peter-evans/create-or-update-comment@v4
|
||||
with:
|
||||
edit-mode: replace
|
||||
comment-id: ${{ steps.fc.outputs.comment-id }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue