Skip to content

Commit

Permalink
fix: amend workflows for permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
sdh100shaun committed May 18, 2024
1 parent 302463b commit 1730c4d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/maven.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:

permissions:
contents: read

packages: write

jobs:
build:
Expand Down
2 changes: 2 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@
<id>github-publish</id>
<name>GitHub dvsa Apache Maven Packages</name>
<url>${github.url}</url>
<snapshots><enabled>true</enabled></snapshots>
<releases><enabled>true</enabled></releases>
</repository>
</distributionManagement>
</profile>
Expand Down

0 comments on commit 1730c4d

Please sign in to comment.