From b891c0ff545325b6f74b144e0770476e8dc91f59 Mon Sep 17 00:00:00 2001 From: Luca Giorgi Date: Fri, 14 Mar 2025 12:13:39 +0100 Subject: [PATCH] Update add-remove-labels.yml --- .github/workflows/add-remove-labels.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/add-remove-labels.yml b/.github/workflows/add-remove-labels.yml index ef9b179d2..687e74de6 100644 --- a/.github/workflows/add-remove-labels.yml +++ b/.github/workflows/add-remove-labels.yml @@ -3,8 +3,11 @@ on: pull_request_target: types: [synchronize] + pull_request_review: + types: [submitted, edited] + pull_request_review_comment: - types: [created] + types: [created, edited] issue_comment: types: [created, edited, deleted] @@ -32,6 +35,13 @@ jobs: comment-id: ${{ github.event.comment.id }} reactions: '+1' + - name: Acknowledge the review with thumbs up reaction + if: ${{ github.event.review }} + uses: peter-evans/create-or-update-comment@v4 + with: + comment-id: ${{ github.event.review.id }} + reactions: '+1' + - uses: actions/checkout@v4 - name: Install uv @@ -45,6 +55,7 @@ jobs: GITHUB_EVENT_REVIEW_STATE: ${{ github.event.review.state }} GITHUB_EVENT_NAME: ${{ github.event_name }} COMMENT_BODY: ${{ github.event.comment.body }} + REVIEW_COMMENT_BODY: ${{ github.event.review.body }} GITHUB_USER_LOGIN: ${{ github.event.sender.login }} ACTION: "add-remove-labels" run: uv run python .github/workflows/scripts/pr_workflow.py