mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-14 19:00:23 +00:00
Add comment when PR is labeled
This commit is contained in:
parent
7ae588d4b8
commit
e8432d38f5
1 changed files with 7 additions and 2 deletions
9
.github/workflows/pull_request_changelog.yml
vendored
9
.github/workflows/pull_request_changelog.yml
vendored
|
|
@ -69,9 +69,14 @@ jobs:
|
||||||
|
|
||||||
Thank you for adding a description of the changes
|
Thank you for adding a description of the changes
|
||||||
|
|
||||||
- name: Delete comment when not labeled
|
- name: Comment when docs is not needed
|
||||||
if: "contains(github.event.pull_request.labels.*.name, 'skip news')"
|
if: "contains(github.event.pull_request.labels.*.name, 'skip news')"
|
||||||
uses: peter-evans/delete-comment@v2
|
uses: peter-evans/create-or-update-comment@v2
|
||||||
with:
|
with:
|
||||||
|
edit-mode: replace
|
||||||
comment-id: ${{ steps.fc.outputs.comment-id }}
|
comment-id: ${{ steps.fc.outputs.comment-id }}
|
||||||
issue-number: ${{ github.event.pull_request.number }}
|
issue-number: ${{ github.event.pull_request.number }}
|
||||||
|
body: |
|
||||||
|
# :corn: Changelog is not needed.
|
||||||
|
|
||||||
|
This PR does not require a changelog in due to the `skip news` label.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue