diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c526e3b..be69946 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -23,7 +23,7 @@ concurrency: cancel-in-progress: true permissions: - contents: write + contents: read jobs: # 1. 测试任务 @@ -100,6 +100,8 @@ jobs: needs: build if: startsWith(github.ref, 'refs/tags/v') runs-on: ubuntu-latest + permissions: + contents: write steps: - name: Download Artifact uses: actions/download-artifact@v4