From 3cc3a79599420c72e9702bfc557a4effdd28d43b Mon Sep 17 00:00:00 2001 From: Guillermo Perez Date: Thu, 23 Nov 2023 12:55:27 +0100 Subject: [PATCH] debug commenting on PR --- .github/workflows/centrifuge-app.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/centrifuge-app.yml b/.github/workflows/centrifuge-app.yml index af5801bfb5..21076a8da0 100644 --- a/.github/workflows/centrifuge-app.yml +++ b/.github/workflows/centrifuge-app.yml @@ -129,17 +129,23 @@ jobs: if: github.event_name == 'pull_request' steps: - name: PR comment with preview URL + id: prcomment uses: thollander/actions-comment-pull-request@v2 env: pull_sha: ${{ github.event.pull_request.head.sha }} with: comment_tag: pr_preview_url + mode: recreate message: | PR deployed in Google Cloud URL: https://${{ needs.deploy-app.outputs.bucket_url }} Commit #: ${{ env.pull_sha }} To access the functions directly check the corresponding deploy Action - + - name: Check notify outputs + run: | + echo "id : ${{ steps.prcomment.outputs.id }}" + echo "body : ${{ steps.prcomment.outputs.body }}" + echo "html_url : ${{ steps.prcomment.outputs.html_url }}" # owasp_scan: # needs: deploy-app # runs-on: ubuntu-latest