AvdLee / appstoreconnect-swift-sdk

The Swift SDK to work with the App Store Connect API from Apple.
Other
1.48k stars 198 forks source link

Check daily for changes in published ASC API #201

Closed marcprux closed 2 years ago

marcprux commented 2 years ago

This PR adds a workflow that will run daily and compare the contents of the currently-published ASC API spec (from https://developer.apple.com/sample-code/app-store-connect/app-store-connect-openapi-specification.zip) with the current contents of the HEAD branch. Any diffs will result in a workflow failure and notification, which will need to be address by manually updating the spec and re-generating the API (at least for now).

See discussion at: https://github.com/AvdLee/appstoreconnect-swift-sdk/pull/197#issuecomment-1226074117

Note that the initial run will fail due to whitespace differences, which is a side-effect of using jq to fix the missing enum case (also mentioned in https://github.com/AvdLee/appstoreconnect-swift-sdk/pull/197).

SwiftLeeBot commented 2 years ago
Warnings
:warning: 'AppStoreVersionSubmission' is deprecated: Deprecated
:warning: 'AppStoreVersionSubmission' is deprecated: Deprecated
:warning: 'AppStoreVersionSubmission' is deprecated: Deprecated
:warning: 'AppStoreVersionSubmission' is deprecated: Deprecated
:warning: 'AgeRatingDeclaration' is deprecated: Deprecated
:warning: 'AgeRatingDeclaration' is deprecated: Deprecated
:warning: 'AgeRatingDeclaration' is deprecated: Deprecated
:warning: 'AppPricePoint' is deprecated: Deprecated
:warning: 'AppPricePoint' is deprecated: Deprecated
:warning: 'AppPricePoint' is deprecated: Deprecated
:warning: 'AppPricePoint' is deprecated: Deprecated
:warning: 'AppPricePoint' is deprecated: Deprecated
:warning: 'AppPricePoint' is deprecated: Deprecated
:warning: 'PricePoints' is deprecated: Deprecated
:warning: 'PricePoints' is deprecated: Deprecated
:warning: 'PricePoints' is deprecated: Deprecated
:warning: 'InAppPurchases' is deprecated: Deprecated
:warning: 'InAppPurchases' is deprecated: Deprecated
:warning: 'InAppPurchases' is deprecated: Deprecated
Messages
:book: View more details on Bitrise
:book: AppStoreConnect-Swift-SDK-Tests: Executed 9 tests (0 failed, 0 retried, 0 skipped) in 0.107 seconds

Code Coverage Report

Name Coverage

Generated by :no_entry_sign: Danger Swift against 8e778f3c9587d7bc56571fee07624855a6afe184

MortenGregersen commented 2 years ago

If you need some inspiration on how to create pull requests when the spec has changed, you can take a look at the script made for Bagbutik.

SwiftLeeBot commented 2 years ago

Congratulations! :tada: This was released as part of Release 2.3.0 :rocket:

Generated by GitBuddy