diff --git a/action.yml b/action.yml
index fb6bdbd..e8e67d2 100644
--- a/action.yml
+++ b/action.yml
@@ -51,13 +51,6 @@ runs:
           TAG=${TAG##refs/tags/}
         fi
         export TOKEN="${{ inputs.token }}"
-        if test -z "$TOKEN"; then
-          export TOKEN="${{ secrets.GITHUB_TOKEN }}"
-        fi
-        if test -z "$TOKEN"; then
-          export TOKEN="${{ github.token }}"
-        fi
-        test "$TOKEN"
         export RELEASE_DIR="${{ inputs.release-dir }}"
         export RELEASENOTES="${{ inputs.release-notes }}"
         export VERBOSE="${{ inputs.verbose }}"