From be8d6d7a880068eddc6458c20c9e542b113fc8d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E6=BB=8B=E6=B6=A6?= <807046079@qq.com> Date: Tue, 12 Nov 2024 13:44:01 +0800 Subject: [PATCH] update --- .github/workflows/common-test-and-update-docs.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/common-test-and-update-docs.yml b/.github/workflows/common-test-and-update-docs.yml index 7465b52..26b5250 100644 --- a/.github/workflows/common-test-and-update-docs.yml +++ b/.github/workflows/common-test-and-update-docs.yml @@ -9,6 +9,8 @@ on: secrets: CODECOV_TOKEN: required: true +permissions: + contents: read jobs: test-and-update-docs: @@ -85,7 +87,6 @@ jobs: - name: Update docs run: | - sudo rm -r -f ./docker/data go install github.com/swaggo/swag/cmd/swag@latest swag init -p pascalcase