ci: 移除设置 token 步骤

- 删除了 .cnb.yml 文件中的 set token 步骤
- 该步骤使用了 tencentcom/git-set-credential 镜像来设置 Git 凭证
- 移除这一步骤可能是因为不再需要使用 token 进行身份验证
This commit is contained in:
eryajf
2025-04-15 21:59:21 +08:00
parent a04125575f
commit c9d289eac2

View File

@@ -7,15 +7,6 @@ main:
script: |
./gorss --root ./docs > learning-weekly.xml
- name: set token
imports: https://cnb.cool/eryajf/build-env/-/blob/main/env.yaml
image: tencentcom/git-set-credential:latest
settings:
userName: ${CNB_TOKEN_USER_NAME}
userEmail: ${CNB_COMMITTER_EMAIL}
loginUserName: ${CNB_TOKEN_USER_NAME}
loginPassword: ${CNB_TOKEN}
- name: commit
image: tencentcom/git-commit:latest
settings: