From 4842fcd01e26e802a7da09e2e48517db2e03d1fd Mon Sep 17 00:00:00 2001 From: Patric Stout Date: Fri, 10 May 2024 21:42:12 +0200 Subject: [PATCH] chore: use the pull-request SHA on publishing for PR (#97) --- .github/workflows/publish.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 5fa374d..272a1af 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -19,6 +19,8 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 + with: + ref: ${{ github.event.pull_request.head.sha }} - name: Install NodeJS uses: actions/setup-node@v4