From 3dcb73a8346e7d8b6ca558324c47036041147565 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=B8=AD=E9=B8=AD=E3=80=8C=E3=82=AB=E3=83=A2=E3=80=8D?= Date: Tue, 11 Feb 2025 12:07:22 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=A1=A5=E5=85=A8=E5=B7=A5=E4=BD=9C?= =?UTF-8?q?=E6=B5=81=20PR=20=E6=9D=83=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/SitemapCreatorStable.yml | 1 + .github/workflows/branch-clean.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/SitemapCreatorStable.yml b/.github/workflows/SitemapCreatorStable.yml index 3d99664..4757062 100644 --- a/.github/workflows/SitemapCreatorStable.yml +++ b/.github/workflows/SitemapCreatorStable.yml @@ -16,6 +16,7 @@ on: # 相关文档: https://docs.github.com/zh/actions/writing-workflows/choosing-what-your-workflow-does/controlling-permissions-for-github_token permissions: contents: write + pull-requests: write jobs: generate_sitemap: diff --git a/.github/workflows/branch-clean.yml b/.github/workflows/branch-clean.yml index 3773c1a..ade82b4 100644 --- a/.github/workflows/branch-clean.yml +++ b/.github/workflows/branch-clean.yml @@ -12,6 +12,7 @@ on: # 相关文档: https://docs.github.com/zh/actions/writing-workflows/choosing-what-your-workflow-does/controlling-permissions-for-github_token permissions: contents: write + pull-requests: read jobs: delete-branch: