From ea3548c9f70519db397a41520e6f40d53e8a6266 Mon Sep 17 00:00:00 2001 From: Patric Stout Date: Fri, 10 May 2024 21:50:48 +0200 Subject: [PATCH] chore: use the pull-request SHA on publishing for PR (#45) --- .github/workflows/publish.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 17dfe23..9f73103 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