Skip to content

Commit 8fbcd5b

Browse files
committed
only run compatibility checks when specs up to date
1 parent 4f42a25 commit 8fbcd5b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci-testing-deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2749,7 +2749,7 @@ jobs:
27492749
.
27502750
27512751
system-backwards-compatibility:
2752-
needs: [changes]
2752+
needs: [changes, system-api-specs]
27532753
if: ${{ needs.changes.outputs.anything-py == 'true' || github.event_name == 'push' }}
27542754
timeout-minutes: 10
27552755
name: "[sys] api-server backwards compatibility"
@@ -2773,7 +2773,7 @@ jobs:
27732773
/specs/services/api-server/openapi.json
27742774
27752775
api-spec-backwards-compatibility:
2776-
needs: [changes]
2776+
needs: [changes, system-api-specs]
27772777
if: ${{ needs.changes.outputs.anything-py == 'true' || github.event_name == 'push' }}
27782778
continue-on-error: true
27792779
timeout-minutes: 10

0 commit comments

Comments
 (0)