From 90a58f5614ae8bfcd503131455986bc6527fd4a2 Mon Sep 17 00:00:00 2001 From: Lukas Taegert-Atkinson Date: Mon, 29 Mar 2021 13:37:13 +0200 Subject: [PATCH] Run on PR target --- .github/workflows/pr-comment.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pr-comment.yml b/.github/workflows/pr-comment.yml index 50a1c1d691a..41c8f09f94e 100644 --- a/.github/workflows/pr-comment.yml +++ b/.github/workflows/pr-comment.yml @@ -1,7 +1,7 @@ name: PR Comment on: - pull_request: + pull_request_target: jobs: comment: @@ -24,10 +24,12 @@ jobs: You can try out this pull request locally by installing Rollup via - ``` + ```bash npm install ${{ github.event.pull_request.head.repo.full_name }}#${{ github.event.pull_request.head.ref }} ``` - Once a build has completed, you can try out the pull request in the REPL by inserting the CircleCI build number in the link below: - `https://rollupjs.org/repl/?circleci==` + Once a build has completed, you can load it into the REPL by inserting its CircleCI build number in the link below: + ``` + https://rollupjs.org/repl/?circleci= + ```