From 92bdbbc5f5ceb6566f95f20fe46aaf498c53a0b6 Mon Sep 17 00:00:00 2001 From: Jorge Turrado Ferrero Date: Sat, 20 Nov 2021 18:27:17 +0100 Subject: [PATCH] Update pr-e2e workflow to edit the trigger comment with the url --- .github/workflows/pr-e2e.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/pr-e2e.yml b/.github/workflows/pr-e2e.yml index 41c5af04911..9ba5e91855b 100644 --- a/.github/workflows/pr-e2e.yml +++ b/.github/workflows/pr-e2e.yml @@ -26,14 +26,6 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - name: React to comment with rocket - uses: dkershner6/reaction-action@v1 - if: steps.check-comment.outputs.triggered == 'true' && steps.check-permission.outputs.has-permission - with: - token: ${{ secrets.GITHUB_TOKEN }} - commentId: ${{ github.event.comment.id }} - reaction: "rocket" - run-test: needs: check runs-on: ubuntu-latest @@ -44,6 +36,14 @@ jobs: steps: - uses: actions/checkout@v2 + - name: Update comment with the execution url + uses: peter-evans/create-or-update-comment@v1 + with: + comment-id: ${{ github.event.comment.id }} + body: | + **Update:** You can check the progres [here](https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}) + reactions: rocket + - name: Checkout Pull Request env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}