From 3efdbf377e4e4c96f6221cf5eb493c34da16ac7d Mon Sep 17 00:00:00 2001 From: Neo Zhang Jianyu Date: Wed, 24 Jul 2024 17:20:35 +0800 Subject: [PATCH 1/2] Update publish.yml --- .github/workflows/publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 92649e06b13..2bfb8caf367 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -8,9 +8,9 @@ on: jobs: build: - runs-on: ubuntu-latest - + permissions: + pull-requests: write steps: - uses: actions/checkout@v3 - name: Build Online Document From 1fae926bc6afb0c6081551ddda07029c99697250 Mon Sep 17 00:00:00 2001 From: Neo Zhang Jianyu Date: Wed, 24 Jul 2024 17:25:36 +0800 Subject: [PATCH 2/2] Update publish.yml --- .github/workflows/publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 2bfb8caf367..3ba577ac2eb 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,5 +1,5 @@ name: Publish -permissions: read-all +permissions: {} on: push: