From 6b273622df63d67fc282ac8825dd630519018207 Mon Sep 17 00:00:00 2001 From: hamster1963 <1410514192@qq.com> Date: Tue, 25 Mar 2025 16:57:41 +0800 Subject: [PATCH] chore: update permissions to allow write access for Deploy and auto-fix workflows --- .github/workflows/Deploy.yml | 4 ++-- .github/workflows/auto-fix-lint-format-commit.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/Deploy.yml b/.github/workflows/Deploy.yml index 9d7ec3f..42ab79c 100644 --- a/.github/workflows/Deploy.yml +++ b/.github/workflows/Deploy.yml @@ -1,7 +1,7 @@ name: Build and push Docker image permissions: - contents: read - + contents: write + on: push: tags: diff --git a/.github/workflows/auto-fix-lint-format-commit.yml b/.github/workflows/auto-fix-lint-format-commit.yml index e053cfa..87b148d 100644 --- a/.github/workflows/auto-fix-lint-format-commit.yml +++ b/.github/workflows/auto-fix-lint-format-commit.yml @@ -1,6 +1,6 @@ name: Auto Fix Lint and Format permissions: - contents: read + contents: write pull-requests: write on: