Skip to content

Commit 8526ddf

Browse files
Update delete_backport_branch workflow permissions (opensearch-project#2294)
* Update delete_backport_branch workflow permissions to use contents:write Signed-off-by: Riley Jerger <rjerger@amazon.com> * Update .github/workflows/delete_backport_branch.yml Signed-off-by: Craig Perkins <craig5008@gmail.com> --------- Signed-off-by: Riley Jerger <rjerger@amazon.com> Signed-off-by: Craig Perkins <cwperx@amazon.com> Signed-off-by: Craig Perkins <craig5008@gmail.com> Co-authored-by: Craig Perkins <cwperx@amazon.com> Co-authored-by: Craig Perkins <craig5008@gmail.com>
1 parent 2151e12 commit 8526ddf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/delete_backport_branch.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ on:
77
jobs:
88
delete-branch:
99
runs-on: ubuntu-latest
10+
permissions:
11+
contents: write
1012
if: startsWith(github.event.pull_request.head.ref,'backport/') || startsWith(github.event.pull_request.head.ref,'release-chores/')
1113
steps:
1214
- name: Delete merged branch

0 commit comments

Comments
 (0)