Skip to content

Commit

Permalink
chore: skip maven publish for non-releases
Browse files Browse the repository at this point in the history
  • Loading branch information
fabianbormann committed Mar 4, 2024
1 parent 5e2e2d1 commit c397a3c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:
jobs:
publish-to-maven-central:
runs-on: ubuntu-latest
if: "github.event_name == 'workflow_dispatch' || contains(github.event.head_commit.message, 'release-please--branches--main')"
steps:
- name: ⬇️ Checkout repository
uses: actions/checkout@v3
Expand Down

0 comments on commit c397a3c

Please sign in to comment.