From 4b22a50897e7e73050a81a23c013545664d98e51 Mon Sep 17 00:00:00 2001 From: YuMin <55650732+yuminn-k@users.noreply.github.com> Date: Mon, 29 Jan 2024 17:18:37 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix:=20:=20Implement=20pull=5Fre?= =?UTF-8?q?quest=5Ftarget=20in=20Github=20Actions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replaced 'pull_request' event with 'pull_request_target' event in Github Actions config file to enable actions to run on PRs from forked repositories. This change allows access to secrets in the workflows triggered by such PRs. Security considerations have been taken into account. related issue: #13 --- .github/workflows/cr.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cr.yml b/.github/workflows/cr.yml index 65ad8f5..0f9d5e2 100644 --- a/.github/workflows/cr.yml +++ b/.github/workflows/cr.yml @@ -5,7 +5,7 @@ permissions: pull-requests: write on: - pull_request: + pull_request_target: types: [opened, synchronize] jobs: test: