diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 8ea1765..33dc48d 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -141,7 +141,7 @@ jobs:
 
       - name: Get branch/tag names
         id: branch-name
-        uses: tj-actions/branch-names@v7
+        uses: tj-actions/branch-names@v8
         with:
           strip_tag_prefix: "v"