Skip to content

ci: release 打包时不把 token 留在 .git/config - #28

Merged
stqfdyr merged 1 commit into
mainfrom
ci/release-no-persisted-credentials
Oct 10, 2026
Merged

stqfdyr merged 1 commit into
mainfrom
ci/release-no-persisted-credentials

Conversation

@stqfdyr

@stqfdyr stqfdyr commented Oct 10, 2026

Copy link
Copy Markdown
Contributor
  • actions/checkout 加 persist-credentials: false。改前可写 token 被写进 .git/config,npm ci 的安装脚本与构建都读得到;现在只有最后的 gh release create 一步通过环境变量拿到它。

@stqfdyr
stqfdyr merged commit 37c5f3a into main Oct 10, 2026
2 checks passed
@stqfdyr
stqfdyr deleted the ci/release-no-persisted-credentials branch October 10, 2026 12:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant