diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 67166e2..322e0fe 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -39,7 +39,8 @@ jobs: run: ./gradlew build --scan --continue - name: Push tag and deploy to plugins.gradle.org if: github.event_name == 'push' - && github.ref == 'refs/heads/master' + && github.ref == 'refs/heads/master' + && github.repository == 'shipkit/shipkit-auto-version' && !contains(toJSON(github.event.commits.*.message), '[skip release]') run: ./gradlew publishPlugins githubRelease --scan env: