mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Try to add comment
This commit is contained in:
parent
19e7c1266a
commit
b9661d9a46
1 changed files with 18 additions and 2 deletions
20
.github/workflows/pull_request_changelog.yml
vendored
20
.github/workflows/pull_request_changelog.yml
vendored
|
|
@ -32,6 +32,22 @@ jobs:
|
|||
towncrier check --compare-with origin/${BASE_BRANCH}
|
||||
|
||||
- if: "failure()"
|
||||
run: echo "FAILED"
|
||||
name: Create comment
|
||||
uses: peter-evans/create-or-update-comment@v2
|
||||
with:
|
||||
body: |
|
||||
# :x: Changelog is required!
|
||||
|
||||
You need to add a brief description of the changes to the `CHANGES` directory.
|
||||
|
||||
For example, you can run `towncrier create <issue>.<type>` to create a file in the change directory and then write a description on that file.
|
||||
|
||||
Read more at [Towncrier docs](https://towncrier.readthedocs.io/en/latest/quickstart.html#creating-news-fragments)
|
||||
- if: "success()"
|
||||
run: echo "PASS"
|
||||
name: Create comment
|
||||
uses: peter-evans/create-or-update-comment@v2
|
||||
with:
|
||||
body: |
|
||||
# :heavy_check_mark: Changelog is added
|
||||
|
||||
Thank you for adding a description of the changes
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue