From c3516d07961d08b9fd6123908d5e1e18058c7c15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=AE=B7=E6=8C=AF=E5=8D=97?= Date: Thu, 2 Nov 2023 17:18:48 +0800 Subject: [PATCH] =?UTF-8?q?action=20=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/test_variables.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test_variables.yaml b/.github/workflows/test_variables.yaml index dccd38d..cfd0049 100644 --- a/.github/workflows/test_variables.yaml +++ b/.github/workflows/test_variables.yaml @@ -2,6 +2,7 @@ name: Greeting on variable day on: pull_request: + pull_request_target: push: env: @@ -14,6 +15,6 @@ jobs: Greeting: Hello steps: - name: "Say Hello Mona it's Monday" - run: "echo $GITHUB_REPOSITORY 111 ${{ github.event.pull_request.base.ref }} 222 $GITHUB_BASE_REF 333 $GITHUB_HEAD_REF bbb ${{vars.APP_ID}} Today is $Greeting!" + run: "echo $GITHUB_REPOSITORY 111 ${{ github.event.pull_request.head.repo }} 222 $GITHUB_BASE_REF 333 $GITHUB_HEAD_REF bbb ${{vars.APP_ID}} Today is $Greeting!" env: First_Name: Mona \ No newline at end of file