From 0c9ffff1b8a2c5f7b911df97cb3d58326286610b Mon Sep 17 00:00:00 2001 From: Ashwin Bharambe Date: Fri, 14 Nov 2025 14:55:26 -0800 Subject: [PATCH] precommit --- .github/workflows/conformance.yml | 22 +--------------------- scripts/openapi_generator/_legacy_order.py | 1 - 2 files changed, 1 insertion(+), 22 deletions(-) diff --git a/.github/workflows/conformance.yml b/.github/workflows/conformance.yml index 718cd1261..73e9678b2 100644 --- a/.github/workflows/conformance.yml +++ b/.github/workflows/conformance.yml @@ -129,32 +129,12 @@ jobs: echo "Will compare: ${BASE_SPEC} -> ${CURRENT_SPEC}" - - name: Write ignore file - run: | - cat < ignore-oasdiff - response-property-became-nullable none - response-property-list-of-types-widened none - request-parameter-default-value-added none - request-property-min-items-increased none - response-property-became-optional none - response-required-property-removed none - response-property-one-of-added none - response-property-type-changed none - request-property-one-of-removed none - request-parameter-enum-value-removed none - request-property-enum-value-removed none - request-property-type-changed none - response-body-type-changed none - response-media-type-removed none - request-body-type-changed none - EOF - # Run oasdiff to detect breaking changes in the API specification # This step will fail if incompatible changes are detected, preventing breaking changes from being merged - name: Run OpenAPI Breaking Change Diff if: steps.skip-check.outputs.skip != 'true' run: | - oasdiff breaking --fail-on ERR --severity-levels ignore-oasdiff $BASE_SPEC $CURRENT_SPEC --match-path '^/v1/' + oasdiff breaking --fail-on ERR $BASE_SPEC $CURRENT_SPEC --match-path '^/v1/' # Report when test is skipped - name: Report skip reason diff --git a/scripts/openapi_generator/_legacy_order.py b/scripts/openapi_generator/_legacy_order.py index c0a83c7df..72863c8fc 100644 --- a/scripts/openapi_generator/_legacy_order.py +++ b/scripts/openapi_generator/_legacy_order.py @@ -1,4 +1,3 @@ -#!/usr/bin/env python3 # Copyright (c) Meta Platforms, Inc. and affiliates. # All rights reserved. #