only run openapi workflow when PR is initially opened (#33662)
This commit is contained in:
4
.github/workflows/openapi-decorate.yml
vendored
4
.github/workflows/openapi-decorate.yml
vendored
@@ -6,6 +6,10 @@ name: OpenAPI generate decorated schema files
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
# This prevents the workflow from running continuously. We only want
|
||||
# this workflow to run once on the initial open.
|
||||
types:
|
||||
- opened
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
Reference in New Issue
Block a user