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

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


The following commit(s) were added to refs/heads/main by this push:
     new dc8b257  ci: use correct GitHub Actions permission "contents" instead 
of "content" (#200)
dc8b257 is described below

commit dc8b257294a5d968e5f0de37786400f5c3d0f439
Author: Raúl Cumplido <[email protected]>
AuthorDate: Tue Nov 26 09:54:21 2024 +0100

    ci: use correct GitHub Actions permission "contents" instead of "content" 
(#200)
    
    ### Rationale for this change
    
    The syntax for permissions should use `contents` instead of `content`,
    see:
    
https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#jobsjob_idpermissions
    
    ### What changes are included in this PR?
    
    Update to correct GitHub actions syntax.
    
    ### Are these changes tested?
    
    No, but can be seen the usage on the Arrow repo:
    
https://github.com/apache/arrow/blob/bbda6b1e1322c5a9b8c107a03343d18b759694c1/.github/workflows/comment_bot.yml#L28
    
    ### Are there any user-facing changes?
    
    No
---
 .github/workflows/comment_bot.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/comment_bot.yml 
b/.github/workflows/comment_bot.yml
index 021b24d..5fbc858 100644
--- a/.github/workflows/comment_bot.yml
+++ b/.github/workflows/comment_bot.yml
@@ -25,7 +25,7 @@ jobs:
   issue_assign:
     name: "Assign issue"
     permissions:
-      content: read
+      contents: read
       issues: write
     if: github.event.comment.body == 'take'
     runs-on: ubuntu-latest

Reply via email to