From 93601398c5b9526775c28398fa43f377a4530afa Mon Sep 17 00:00:00 2001 From: Chengyou Liu <35356271+cyliu0@users.noreply.github.com> Date: Wed, 25 Sep 2024 11:48:26 +0800 Subject: [PATCH] fix(ci): add contents write permission cherry pick workflow (#18695) --- .github/workflows/cherry-pick-to-release-branch.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/cherry-pick-to-release-branch.yml b/.github/workflows/cherry-pick-to-release-branch.yml index 363854209f30b..2e086b0ad1ede 100644 --- a/.github/workflows/cherry-pick-to-release-branch.yml +++ b/.github/workflows/cherry-pick-to-release-branch.yml @@ -54,3 +54,6 @@ jobs: pr_body: ${{ format('Cherry picking \#{0} onto branch release-2.0', github.event.number) }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + +permissions: + contents: write