feat: split gitea comment token

This commit is contained in:
2026-05-15 14:59:15 +00:00
parent 066b21aa5c
commit b0c4d5a0bc
4 changed files with 13 additions and 4 deletions
+4
View File
@@ -6,6 +6,9 @@ inputs:
GITEA_TOKEN:
description: 'Gitea API Token'
required: true
GITEA_COMMENT_TOKEN:
description: 'Gitea API Token for posting comments only'
required: false
GITEA_SERVER_URL:
description: 'Gitea Server URL'
required: false
@@ -82,6 +85,7 @@ runs:
env:
# Gitea context(改為只從 inputs 取得)
GITEA_TOKEN: ${{ inputs.GITEA_TOKEN }}
GITEA_COMMENT_TOKEN: ${{ inputs.GITEA_COMMENT_TOKEN }}
GITEA_SERVER_URL: ${{ inputs.GITEA_SERVER_URL || gitea.server_url }}
GITEA_REPOSITORY: ${{ inputs.GITEA_REPOSITORY || gitea.repository }}
GITEA_SKIP_TLS_VERIFY: ${{ inputs.GITEA_SKIP_TLS_VERIFY }}