Skip to content

Commit

Permalink
ci(central): add permissions to action
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewazores committed Jan 26, 2024
1 parent 87af41a commit 503b659
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/maven-central-release.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Inspired from https://foojay.io/today/how-to-release-a-java-module-with-jreleaser-to-maven-central-with-github-actions/
name: Publish a new release
name: Publish a new Maven Central release

on:
workflow_dispatch:
Expand All @@ -14,6 +14,9 @@ on:
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
packages: write
steps:
- name: Git checkout
uses: actions/checkout@v4
Expand Down

0 comments on commit 503b659

Please sign in to comment.