Skip to content

Commit 3989ff3

Browse files
committed
【修复】移除 release-action 中的 token 输入
根据 ncipollo/release-action@v1 的使用文档,移除了不需要的 token 输入字段。这个改动简化了 GitHub Actions 的配置,消除了一个潜在的安全隐患。
1 parent 6c3eb95 commit 3989ff3

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ jobs:
6464
if: steps.version-check.outputs.version != '0'
6565
uses: ncipollo/release-action@v1
6666
with:
67-
token: ${{ secrets.TOKEN }}
6867
generateReleaseNotes: true
6968
tag: "v${{ steps.version-check.outputs.version }}"
7069
artifacts: "index.html,index.min.html"

0 commit comments

Comments
 (0)