We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 60aaa46 commit 9e07596Copy full SHA for 9e07596
.github/workflows/generate.yml
@@ -6,7 +6,7 @@ permissions:
6
7
on:
8
repository_dispatch:
9
- types: [generate, release]
+ types: [generate]
10
workflow_dispatch:
11
inputs:
12
openapi_url:
@@ -25,10 +25,6 @@ jobs:
25
echo "Error: 'openapi_url' is missing in client_payload."
26
exit 1
27
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
32
33
echo "OPENAPI_URL=${{ github.event.client_payload.openapi_url }}" >> $GITHUB_ENV
34
else
0 commit comments