Browse Source

【修复】移除 release-action 中的 token 输入

根据 ncipollo/release-action@v1 的使用文档,移除了不需要的 token 输入字段。这个改动简化了 GitHub Actions 的配置,消除了一个潜在的安全隐患。
PJ568 1 năm trước cách đây
mục cha
commit
3989ff3853
1 tập tin đã thay đổi với 0 bổ sung và 1 xóa
  1. 0 1
      .github/workflows/release.yml

+ 0 - 1
.github/workflows/release.yml

@@ -64,7 +64,6 @@ jobs:
       if: steps.version-check.outputs.version != '0'
       uses: ncipollo/release-action@v1
       with:
-        token: ${{ secrets.TOKEN }}
         generateReleaseNotes: true
         tag: "v${{ steps.version-check.outputs.version }}"
         artifacts: "index.html,index.min.html"