ci: cleanup generate yaml

This commit is contained in:
Adam Uhlíř 2025-04-23 11:18:13 +02:00
parent b2e6180ed1
commit 72a30deef0
No known key found for this signature in database
GPG Key ID: 1D17A9E81F76155B

View File

@ -6,7 +6,7 @@ permissions:
on:
repository_dispatch:
types: [generate, release]
types: [generate]
workflow_dispatch:
inputs:
openapi_url:
@ -25,10 +25,6 @@ jobs:
echo "Error: 'openapi_url' is missing in client_payload."
exit 1
fi
if [ "${{ github.event.action }}" == "release" ] && [ -z "${{ github.event.client_payload.version }}" ]; then
echo "Error: We are supposed to release, but 'version' is missing in client_payload."
exit 1
fi
echo "OPENAPI_URL=${{ github.event.client_payload.openapi_url }}" >> $GITHUB_ENV
else