From d6b04d4e595273ad38a151846c80c1f38466ac18 Mon Sep 17 00:00:00 2001 From: Ronald Ip Date: Wed, 12 Jul 2023 23:55:14 +0800 Subject: [PATCH] Allow the checkout action to work with PRs from other repos. --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d28744b23..afd700308 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,7 +23,7 @@ jobs: steps: - uses: actions/checkout@v3 with: - ref: ${{ github.event.pull_request.head.ref }} + ref: ${{ github.event.pull_request.head.sha }} - name: check if message contain keywords ace scopeid id: check-commit