mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Try to fix towncrier
This commit is contained in:
parent
f2ce0fec9d
commit
fe6d3be3b7
2 changed files with 9 additions and 9 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 }}
|
||||
|
|
|
|||
|
|
@ -93,12 +93,12 @@ docs = [
|
|||
"sphinx-copybutton~=0.5.2",
|
||||
"furo~=2023.9.10",
|
||||
"Sphinx-Substitution-Extensions~=2022.2.16",
|
||||
"towncrier~=23.6.0",
|
||||
"towncrier~=24.7.1",
|
||||
"pygments~=2.16.1",
|
||||
"pymdown-extensions~=10.3",
|
||||
"markdown-include~=0.8.1",
|
||||
"Pygments~=2.16.1",
|
||||
"sphinxcontrib-towncrier~=0.3.2a0",
|
||||
"sphinxcontrib-towncrier~=0.4.0a0",
|
||||
]
|
||||
dev = [
|
||||
"black~=24.4.2",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue