You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@orc.apache.org by do...@apache.org on 2022/10/07 06:57:21 UTC

[orc] branch main updated: ORC-1284: Add permissions to GitHub Action labeler

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

dongjoon pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/orc.git


The following commit(s) were added to refs/heads/main by this push:
     new 7d186343e ORC-1284: Add permissions to GitHub Action labeler
7d186343e is described below

commit 7d186343eba363d8b3a1299c05ad32e468fa917c
Author: Dongjoon Hyun <do...@apache.org>
AuthorDate: Thu Oct 6 23:57:14 2022 -0700

    ORC-1284: Add permissions to GitHub Action labeler
    
    ### What changes were proposed in this pull request?
    
    This PR aims to recover GitHub Action `labeler` job.
    
    ### Why are the changes needed?
    
    As we can see in this PR, the labeler is broken. We need permissions.
    
    ### How was this patch tested?
    
    Unfortunately, this should be tested after merging.
    
    Closes #1272 from dongjoon-hyun/ORC-1284.
    
    Authored-by: Dongjoon Hyun <do...@apache.org>
    Signed-off-by: Dongjoon Hyun <do...@apache.org>
---
 .github/workflows/labeler.yml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml
index b4ce94ac1..5c25e72dd 100644
--- a/.github/workflows/labeler.yml
+++ b/.github/workflows/labeler.yml
@@ -24,6 +24,9 @@ jobs:
   label:
     name: Label pull requests
     runs-on: ubuntu-latest
+    permissions:
+      contents: read
+      pull-requests: write
     steps:
     - uses: actions/labeler@2.2.0
       with: