Post comment on PRs with link to test workflow runs (#9122)

This commit is contained in:
Subin Mathew 2021-11-11 22:25:44 +05:30 committed by GitHub
parent 069f0645d3
commit 27e8a88605
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -108,6 +108,17 @@ jobs:
- name: Figure out the PR number
run: echo ${{ github.event.client_payload.pull_request.number }}
# This step creates a comment on the PR with a link to this workflow run.
- name: Add a comment on the PR with link to workflow run
uses: peter-evans/create-or-update-comment@v1
with:
issue-number: ${{ github.event.client_payload.pull_request.number }}
body: |
Tests running at: <https://github.com/appsmithorg/appsmith/actions/runs/${{ github.run_id }}>.
Workflow: `${{ github.workflow }}`.
Commit: `${{ github.sha }}`.
PR: ${{ github.event.client_payload.pull_request.number }}.
- name: Use Node.js 14.15.4
uses: actions/setup-node@v1