From 4f06c1b2502c48dd9b8073ced4b5ab902fa59739 Mon Sep 17 00:00:00 2001 From: Earl Warren Date: Fri, 31 Mar 2023 00:36:32 +0200 Subject: [PATCH] github.token has restricted permissions and won't be useful --- action.yml | 7 ------- 1 file changed, 7 deletions(-) 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 }}"