Skip to content

Commit 5ea2e85

Browse files
fix: handle inputs correctly for release event trigger
1 parent a473226 commit 5ea2e85

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/cd.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
maven-cd:
2525
uses: jenkins-infra/github-reusable-workflows/.github/workflows/maven-cd.yml@v1
2626
with:
27-
validate_only: ${{ inputs.validate_only == true }}
27+
validate_only: ${{ github.event_name == 'workflow_dispatch' && inputs.validate_only == true }}
2828
secrets:
2929
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
3030
MAVEN_TOKEN: ${{ secrets.MAVEN_TOKEN }}

0 commit comments

Comments
 (0)