Skip to content

Commit

Permalink
Update pr-e2e workflow to edit the trigger comment with the url
Browse files Browse the repository at this point in the history
  • Loading branch information
JorTurFer committed Nov 20, 2021
1 parent cf1b365 commit 92bdbbc
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/pr-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}
Expand Down

0 comments on commit 92bdbbc

Please sign in to comment.