From 6bb52b0f97c11d30fa38290926372148e231f408 Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Thu, 7 Nov 2024 23:10:20 -0500 Subject: [PATCH] [CI/Build] Give PR cleanup job PR write access (#10139) Signed-off-by: Russell Bryant --- .github/workflows/cleanup_pr_body.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cleanup_pr_body.yml b/.github/workflows/cleanup_pr_body.yml index 7cf7242e..37d93a12 100644 --- a/.github/workflows/cleanup_pr_body.yml +++ b/.github/workflows/cleanup_pr_body.yml @@ -1,8 +1,11 @@ name: Cleanup PR Body on: - pull_request: - types: [opened, edited, synchronize] + pull_request_target: + types: [opened, reopened, edited] + +permissions: + pull-requests: write jobs: update-description: