diff --git a/.github/workflows/build-publish.yml b/.github/workflows/build-publish.yml
index 4817bb2..82e9cfd 100644
--- a/.github/workflows/build-publish.yml
+++ b/.github/workflows/build-publish.yml
@@ -36,7 +36,7 @@ jobs:
 
       - id: short-sha
         if: ${{ github.event_name == 'pull_request_target' }}
-        uses: actions/github-script@v6.0.0
+        uses: actions/github-script@v6.1.0
         with:
           script: |
             const sha = context.payload.pull_request.head.sha.substr(0,7)