From 8f89850286c0afde412f732d69ddb7bd07455dbf Mon Sep 17 00:00:00 2001 From: Kacper Korban Date: Fri, 29 Nov 2024 09:20:42 +0100 Subject: [PATCH] Only trigger releases on tags --- .github/workflows/release.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c7efc41..11cd0f9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,7 +1,6 @@ name: Release on: push: - branches: [master, main] tags: ["*"] jobs: publish: @@ -16,4 +15,4 @@ jobs: PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }} PGP_SECRET: ${{ secrets.PGP_SECRET }} SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }} - SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }} \ No newline at end of file + SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}