Try to add comment

This commit is contained in:
Alex Root Junior 2022-03-26 19:18:35 +02:00
parent 19e7c1266a
commit b9661d9a46
No known key found for this signature in database
GPG key ID: 074C1D455EBEA4AC

View file

@ -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