Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: Publish package to the Maven Central Repository
on:
push:
tags: [ "*" ]
permissions:
contents: read
Copy link

Copilot AI Oct 14, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The release workflow may need write permissions to create releases and upload artifacts to Maven Central. Consider if contents: write permission is needed for tagging or if additional permissions like packages: write are required for publishing.

Suggested change
contents: read
contents: write
packages: write

Copilot uses AI. Check for mistakes.


jobs:
publish:
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
types: [ opened, reopened, edited ]
push:
branches: [ develop, master ]
permissions:
contents: read

jobs:
mvn_verify:
runs-on: ubuntu-latest
Expand Down