This is an automated email from the ASF dual-hosted git repository.

jdaugherty pushed a commit to branch 7.0.x
in repository https://gitbox.apache.org/repos/asf/grails-core.git

commit b1c18728b046bea6cc5a2aa1312185e732164190
Author: James Daugherty <[email protected]>
AuthorDate: Wed May 28 20:18:58 2025 -0400

    [skip ci] fix release drafter
---
 .github/workflows/release-notes.yml | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/release-notes.yml 
b/.github/workflows/release-notes.yml
index 3aa5b179e8..9068a120af 100644
--- a/.github/workflows/release-notes.yml
+++ b/.github/workflows/release-notes.yml
@@ -34,10 +34,13 @@ concurrency:
 jobs:
   update_release_draft:
     permissions:
-      contents: read # limit to read access
+      # write permission is required to create a github release
+      contents: write
+      # write permission is required for autolabeler
+      pull-requests: write
     runs-on: ubuntu-latest
     steps:
       - name: "📝 Update Release Draft"
         uses: release-drafter/release-drafter@v6
         env:
-          GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
\ No newline at end of file
+          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
\ No newline at end of file

Reply via email to