File tree Expand file tree Collapse file tree 6 files changed +102
-32
lines changed Expand file tree Collapse file tree 6 files changed +102
-32
lines changed Original file line number Diff line number Diff line change 1616 - name : Fetch changes
1717 working-directory : ./tools
1818 run : make fetch_openapi
19+ - name : Commit OpenAPI changes
20+ run : |
21+ git config --global user.email "github-actions[bot]@users.noreply.github.com"
22+ git config --global user.name "github-actions[bot]"
23+ git add .
24+ git commit -m "fix: update OpenAPI spec"
1925 - name : Run generation
2026 working-directory : ./tools
2127 run : |
@@ -29,11 +35,14 @@ jobs:
2935 - name : Run docs generation
3036 if : steps.verify-changed-files.outputs.files_changed == 'true'
3137 run : make gen-docs
38+ - name : Commit Generator Changes
39+ run : |
40+ git add . && git commit -m "fix: Generated SDK source code and docs"
3241 - name : Release updates
3342 if : steps.verify-changed-files.outputs.files_changed == 'true'
3443 working-directory : ./tools
35- env :
36- GIT_BASE_REF : origin/main
44+ env :
45+ GIT_BASE_REF : ${{ github.sha }}
3746 run : |
3847 make new-release
3948 - uses : peter-evans/create-pull-request@v5
4251 GITHUB_TOKEN : ${{ secrets.REPO_SCOPED_GITHUB_TOKEN }}
4352 with :
4453 title : " APIBot: SDK update based on recent changes in Atlas API"
45- commit-message : " Automated openapi client update "
54+ commit-message : " fix: required version bumps for Atlas SDK release "
4655 delete-branch : true
4756 branch : api-bot-update
4857 body : |
You can’t perform that action at this time.
0 commit comments