From 9fb2cb42fe2bcf5b3721dae89a935a64ce4cbec3 Mon Sep 17 00:00:00 2001 From: Zelin Hao Date: Fri, 22 Mar 2024 17:04:48 -0700 Subject: [PATCH] Add permission to the release workflow (#706) * Add permission needed for manual approval Signed-off-by: Zelin Hao * Remove codeowner Signed-off-by: Zelin Hao --------- Signed-off-by: Zelin Hao (cherry picked from commit 8a00963d83998b31102090ae21025562f0041c19) --- .github/CODEOWNERS | 2 +- .github/workflows/release-drafter.yml | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 13f8a349..13ba7736 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1,2 +1,2 @@ # This should match the team set up in https://github.com/orgs/opensearch-project/teams and include any additional contributors -* @VachaShah @dblock @harshavamsi @axeoman @deztructor @Shephalimittal @saimedhi @florianvazelle \ No newline at end of file +* @VachaShah @dblock @harshavamsi @axeoman @Shephalimittal @saimedhi @florianvazelle diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml index fe8cb0ca..f634fd82 100644 --- a/.github/workflows/release-drafter.yml +++ b/.github/workflows/release-drafter.yml @@ -8,6 +8,9 @@ on: jobs: draft-a-release: runs-on: ubuntu-latest + permissions: + contents: write + issues: write steps: - name: Checkout Repository uses: actions/checkout@v3