Skip to content

Commit 9e07596

Browse files
authored
ci: cleanup generate yaml (#5)
1 parent 60aaa46 commit 9e07596

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

.github/workflows/generate.yml

+1-5
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ permissions:
66

77
on:
88
repository_dispatch:
9-
types: [generate, release]
9+
types: [generate]
1010
workflow_dispatch:
1111
inputs:
1212
openapi_url:
@@ -25,10 +25,6 @@ jobs:
2525
echo "Error: 'openapi_url' is missing in client_payload."
2626
exit 1
2727
fi
28-
if [ "${{ github.event.action }}" == "release" ] && [ -z "${{ github.event.client_payload.version }}" ]; then
29-
echo "Error: We are supposed to release, but 'version' is missing in client_payload."
30-
exit 1
31-
fi
3228
3329
echo "OPENAPI_URL=${{ github.event.client_payload.openapi_url }}" >> $GITHUB_ENV
3430
else

0 commit comments

Comments
 (0)