Skip to content

Commit 4b72185

Browse files
authored
CLOUDP-195429: detect breaking changes in the SDK (#172)
1 parent 4904fd7 commit 4b72185

File tree

3 files changed

+21
-2
lines changed

3 files changed

+21
-2
lines changed

.github/workflows/autoupdate-preview.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,10 @@ jobs:
5858
2. Documentation style
5959
3. Transformation engine linting
6060
61+
## Breaking Changes
62+
63+
For list of possible breaking changes please refer to `Detect Breaking Changes` job.
64+
6165
## Release schedule
6266
6367
PR is updated 3 times a week with latest changes from the RC for the API.

.github/workflows/autoupdate-prod.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,10 @@ jobs:
6363
## Manual Review Procedure
6464
6565
1. Review changes in the OpenAPI file (openapi/atlas-api.yaml)
66-
2. If we see any breaking changes without new resource version
66+
2. If we see any breaking changes without new resource version (
67+
- Review breaking changes listed in `Detect Breaking Changes` action
6768
- Checkout PR locally and run `make update-version`
68-
- Provide breaking changes infomation in generated ``./releaser/breaking_changes/{release_version}.md` file
69+
- Provide breaking changes infomation in generated `./releaser/breaking_changes/{release_version}.md` file
6970
- Push your changes directly to the automation PR.
7071
3. If we have major version release request feedback from additional reviewer if possible.
7172
4. Merge PR into main branch
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: (Optional) Detect Breaking Changes
2+
on: [ pull_request ]
3+
jobs:
4+
go-apidiff:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- uses: actions/checkout@v2
8+
with:
9+
fetch-depth: 0
10+
- name: Install Go
11+
uses: actions/setup-go@v4
12+
with:
13+
go-version-file: 'go.mod'
14+
- uses: joelanford/go-apidiff@main

0 commit comments

Comments
 (0)