From 0ca6ff690692f937094d2d2498781099234c2009 Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Sun, 9 May 2021 20:45:22 +0200 Subject: [PATCH] Ensured checkout is done from remote remo --- .github/workflows/deploy-preview.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy-preview.yml b/.github/workflows/deploy-preview.yml index 11c9ca84..1609c879 100644 --- a/.github/workflows/deploy-preview.yml +++ b/.github/workflows/deploy-preview.yml @@ -10,6 +10,8 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v2 + with: + repository: ${{ github.event.pull_request_target.head.repo.full_name }} - name: Use node.js 14.15 uses: actions/setup-node@v1 with: @@ -32,4 +34,6 @@ jobs: uses: marocchino/sticky-pull-request-comment@v2 with: header: Preview environment - message: "**Preview environment**: https://shlinkio.github.io/shlink-web-client/${{ steps.generate_slug.outputs.slug }}" + message: | + ## Preview environment + https://shlinkio.github.io/shlink-web-client/${{ steps.generate_slug.outputs.slug }}/