diff --git a/.github/workflows/get-size.yml b/.github/workflows/get-size.yml
index 1f4ba8c0..b3f62655 100644
--- a/.github/workflows/get-size.yml
+++ b/.github/workflows/get-size.yml
@@ -14,7 +14,7 @@ jobs:
       with:
         repo-token: ${{ secrets.BOT_GITHUB_TOKEN }}
         pattern: './dist/**/*.{js,css,html}'
-        strip-hash: '[-|.]\w{8}|\w{32}'
+        strip-hash: '[-|.](\w{32}|\w{8})'
         exclude: '{./dist/manifest.json,**/*.map,**/node_modules/**}'
         minimum-change-threshold: 100
     # Check number of lines of code added