0
1
Fork 1
mirror of https://code.forgejo.org/actions/forgejo-release synced 2024-09-19 18:45:51 +02:00

github.token has restricted permissions and won't be useful

This commit is contained in:
Earl Warren 2023-03-31 00:36:32 +02:00
parent 12233a8d78
commit 4f06c1b250
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00

View file

@ -51,13 +51,6 @@ runs:
TAG=${TAG##refs/tags/} TAG=${TAG##refs/tags/}
fi fi
export TOKEN="${{ inputs.token }}" 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 RELEASE_DIR="${{ inputs.release-dir }}"
export RELEASENOTES="${{ inputs.release-notes }}" export RELEASENOTES="${{ inputs.release-notes }}"
export VERBOSE="${{ inputs.verbose }}" export VERBOSE="${{ inputs.verbose }}"