mirror of
https://code.forgejo.org/actions/forgejo-release.git
synced 2024-12-22 10:45:27 +00:00
github.token has restricted permissions and won't be useful
This commit is contained in:
parent
12233a8d78
commit
4f06c1b250
|
@ -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 }}"
|
||||
|
|
Loading…
Reference in a new issue