Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7e4e76a

Browse files
authored
only run openapi workflow when PR is initially opened (#33662)
1 parent 00868e3 commit 7e4e76a

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/openapi-decorate.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ name: OpenAPI generate decorated schema files
66

77
on:
88
pull_request:
9+
# This prevents the workflow from running continuously. We only want
10+
# this workflow to run once on the initial open.
11+
types:
12+
- opened
913

1014
permissions:
1115
contents: write

0 commit comments

Comments
 (0)