Skip to content

Commit

Permalink
ci: Update permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
SMadani committed Aug 6, 2024
1 parent 8aa1688 commit c72cf47
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ permissions:
checks: write
contents: read
deployments: none
issues: write
issues: read
discussions: none
packages: none
pages: read
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
3 changes: 1 addition & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
</issueManagement>

<properties>
<nexusUrl>https://oss.sonatype.org</nexusUrl>
<project.scm.connection>scm:[email protected]:Vonage/vonage-kotlin-sdk</project.scm.connection>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
Expand Down Expand Up @@ -270,7 +269,7 @@
<extensions>true</extensions>
<configuration>
<serverId>nexus-releases</serverId>
<nexusUrl>${nexusUrl}</nexusUrl>
<nexusUrl>https://oss.sonatype.org</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
Expand Down

0 comments on commit c72cf47

Please sign in to comment.