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

rzo1 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/opennlp-sandbox.git


The following commit(s) were added to refs/heads/main by this push:
     new f0c7762f Add explicit permissions for CI and NOTICE regen workflows 
(#472)
f0c7762f is described below

commit f0c7762fffb15702080db9ebb0a6cdb745705b92
Author: Arpit Jain <[email protected]>
AuthorDate: Tue May 19 04:21:36 2026 +0900

    Add explicit permissions for CI and NOTICE regen workflows (#472)
    
    Signed-off-by: Arpit Jain <[email protected]>
---
 .github/workflows/license.yaml | 4 ++++
 .github/workflows/maven.yml    | 3 +++
 2 files changed, 7 insertions(+)

diff --git a/.github/workflows/license.yaml b/.github/workflows/license.yaml
index c9dc9977..8dc1978a 100644
--- a/.github/workflows/license.yaml
+++ b/.github/workflows/license.yaml
@@ -21,6 +21,10 @@ on:
       - main
   workflow_dispatch:
 
+permissions:
+  contents: write
+  pull-requests: write
+
 jobs:
   build:
     runs-on: ubuntu-latest
diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 1a24e93e..fdcc1c9d 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -25,6 +25,9 @@ on:
     branches:
       - main
 
+permissions:
+  contents: read
+
 jobs:
   build:
     runs-on: ${{ matrix.os }}

Reply via email to