added run conditions for mvn publish workflow (#9571)

This commit is contained in:
Parth Panchal 2023-01-03 14:01:59 +05:30 committed by GitHub
parent 7e7528e13b
commit 6597e49af8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,9 +12,19 @@
name: Publish Package to Maven Central Repository
on:
pull_request:
workflow_dispatch:
pull_request_target:
types:
- closed
paths:
- "openmetadata-service/**"
- "openmetadata-spec/src/main/resources/json/schema/**"
- "openmetadata-clients/**"
- "pom.xml"
permissions:
contents: read
jobs:
publish: