You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opennlp.apache.org by rz...@apache.org on 2026/05/18 19:21:43 UTC

(opennlp-sandbox) branch main updated: Add explicit permissions for CI and NOTICE regen workflows (#472)

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 <32...@users.noreply.github.com>
AuthorDate: Tue May 19 04:21:36 2026 +0900

    Add explicit permissions for CI and NOTICE regen workflows (#472)
    
    Signed-off-by: Arpit Jain <ar...@gmail.com>
---
 .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 }}