From 8f48148961f6d712f3e4839878aa3a98ca40bbb5 Mon Sep 17 00:00:00 2001 From: MCNeteaseDevs Date: Wed, 25 Mar 2026 18:55:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20GitHub=20Actions=20?= =?UTF-8?q?=E6=9D=83=E9=99=90=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/sync.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/sync.yml b/.github/workflows/sync.yml index c2eca77..194d605 100644 --- a/.github/workflows/sync.yml +++ b/.github/workflows/sync.yml @@ -8,6 +8,10 @@ on: tags: - 'sync-*' +# 授予写入权限 +permissions: + contents: write + jobs: push-code: runs-on: ubuntu-latest @@ -56,4 +60,4 @@ jobs: echo "" >> $GITHUB_STEP_SUMMARY echo "- **标签**: ${{ steps.tag_info.outputs.tag_name }}" >> $GITHUB_STEP_SUMMARY echo "- **Commit**: ${{ steps.tag_info.outputs.commit_sha }}" >> $GITHUB_STEP_SUMMARY - echo "- **时间**: $(date)" >> $GITHUB_STEP_SUMMARY + echo "- **时间**: $(date)" >> $GITHUB_STEP_SUMMARY \ No newline at end of file