refactor: simplify token env handling

This commit is contained in:
2026-05-15 02:13:47 +00:00
parent 2f0c9ebb1c
commit bfe5d46d19
2 changed files with 7 additions and 20 deletions
+1 -3
View File
@@ -19,6 +19,4 @@ runs:
env:
GITEA_SERVER_URL: ${{ gitea.server_url }}
GITEA_REPOSITORY: ${{ gitea.repository }}
INPUT_RUNNER_TOKEN: ${{ inputs.runner_token }}
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
RUNNER_TOKEN_SECRET: ${{ secrets.RUNNER_TOKEN }}
RUNNER_TOKEN: ${{ inputs.runner_token || secrets.GITEA_TOKEN || secrets.RUNNER_TOKEN }}