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 <[email protected]>
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 <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
---
.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/[email protected]
with: