diff --git a/.github/workflows/openapi-decorate.yml b/.github/workflows/openapi-decorate.yml index a033f27367..4f24464c3a 100644 --- a/.github/workflows/openapi-decorate.yml +++ b/.github/workflows/openapi-decorate.yml @@ -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