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

lidavidm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-java.git


The following commit(s) were added to refs/heads/main by this push:
     new 1e533821 GH-880: [CI] Fix syntax error in `dev_pr.yml` (#881)
1e533821 is described below

commit 1e533821c19516a19d7c6dec58c657735816c0e5
Author: Sutou Kouhei <[email protected]>
AuthorDate: Wed Oct 8 12:49:54 2025 +0900

    GH-880: [CI] Fix syntax error in `dev_pr.yml` (#881)
    
    ## What's Changed
    
    We can't write `permissions` in a step.
    
    Closes #880.
---
 .github/workflows/dev_pr.yml | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/.github/workflows/dev_pr.yml b/.github/workflows/dev_pr.yml
index 58f5f3d3..2f4a48d5 100644
--- a/.github/workflows/dev_pr.yml
+++ b/.github/workflows/dev_pr.yml
@@ -35,6 +35,7 @@ concurrency:
 
 permissions:
   contents: read
+  issues: write
   pull-requests: write
 
 jobs:
@@ -80,9 +81,5 @@ jobs:
         if: '! github.event.pull_request.draft'
         env:
           GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
-        permissions:
-          contents: read
-          issues: write
-          pull-requests: write
         run: |
           ./.github/workflows/dev_pr_milestone.sh "${GITHUB_REPOSITORY}" ${{ 
github.event.number }}

Reply via email to