ci: rename secret from GITEA_TOKEN to CI_TOKEN
Some checks failed
PR Checks / test (pull_request) Failing after 10s
PR Checks / security (pull_request) Failing after 6s

Gitea secrets cannot start with GITEA_ or GITHUB_ prefix.
This commit is contained in:
root 2026-03-29 01:13:59 +00:00
parent af8807a733
commit 0634262eb2
2 changed files with 7 additions and 1 deletions

View File

@ -1,5 +1,8 @@
name: PR Checks
env:
GITEA_TOKEN: ${{ secrets.CI_TOKEN }}
on:
pull_request:
branches: [main]

View File

@ -1,5 +1,8 @@
name: Release & Publish
env:
GITEA_TOKEN: ${{ secrets.CI_TOKEN }}
on:
push:
branches: [main]
@ -117,5 +120,5 @@ jobs:
run: |
uv publish \
--username ${{ github.actor }} \
--password ${{ secrets.GITEA_TOKEN }} \
--password ${{ env.GITEA_TOKEN }} \
https://git.much-data.ru/api/packages/${{ github.repository_owner }}/pypi