From c72cf479ec71968ca9bb19304c3cbb7d6c9acc60 Mon Sep 17 00:00:00 2001 From: Sina Madani Date: Tue, 6 Aug 2024 16:50:01 +0100 Subject: [PATCH] ci: Update permissions --- .github/workflows/build.yml | 2 +- .github/workflows/publish.yml | 4 ++-- pom.xml | 3 +-- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1eec001..eed8c75 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,7 +10,7 @@ permissions: checks: write contents: read deployments: none - issues: write + issues: read discussions: none packages: none pages: read diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index fb17a21..3c9a1f9 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -9,11 +9,11 @@ permissions: contents: read deployments: read issues: write - discussions: write + discussions: none packages: write pages: write pull-requests: read - security-events: write + security-events: read statuses: write jobs: diff --git a/pom.xml b/pom.xml index 859036c..0516061 100644 --- a/pom.xml +++ b/pom.xml @@ -40,7 +40,6 @@ - https://oss.sonatype.org scm:git@github.com:Vonage/vonage-kotlin-sdk UTF-8 UTF-8 @@ -270,7 +269,7 @@ true nexus-releases - ${nexusUrl} + https://oss.sonatype.org true