From 7469bd2b9a24d6fda488651cebc4892a33dd2c47 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 Signed-off-by: Maxime Fournioux <55544262+mfournioux@users.noreply.github.com> --- .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 7cf7242e130c8..37d93a1277974 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: