Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Push gateway OAS to the dev site #8361

Merged
merged 1 commit into from
Jan 23, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 52 additions & 0 deletions .github/raise-pr-on-change.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{
"kong/developer.konghq.com": [
{
"src": "api-specs/Gateway-EE/3.4/kong-ee-3.4.yaml",
"dest": "api-specs/gateway/admin-ee/3.4/openapi.yaml"
},
{
"src": "api-specs/Gateway-EE/3.5/kong-ee-3.5.yaml",
"dest": "api-specs/gateway/admin-ee/3.5/openapi.yaml"
},
{
"src": "api-specs/Gateway-EE/3.6/kong-ee-3.6.yaml",
"dest": "api-specs/gateway/admin-ee/3.6/openapi.yaml"
},
{
"src": "api-specs/Gateway-EE/3.7/kong-ee-3.7.yaml",
"dest": "api-specs/gateway/admin-ee/3.7/openapi.yaml"
},
{
"src": "api-specs/Gateway-EE/3.8/kong-ee-3.8.yaml",
"dest": "api-specs/gateway/admin-ee/3.8/openapi.yaml"
},
{
"src": "api-specs/Gateway-EE/3.9/kong-ee-3.9.yaml",
"dest": "api-specs/gateway/admin-ee/3.9/openapi.yaml"
},
{
"src": "api-specs/Gateway-OSS/3.4/kong-oss-3.4.yaml",
"dest": "api-specs/gateway/admin-oss/3.4/openapi.yaml"
},
{
"src": "api-specs/Gateway-OSS/3.5/kong-oss-3.5.yaml",
"dest": "api-specs/gateway/admin-oss/3.5/openapi.yaml"
},
{
"src": "api-specs/Gateway-OSS/3.6/kong-oss-3.6.yaml",
"dest": "api-specs/gateway/admin-oss/3.6/openapi.yaml"
},
{
"src": "api-specs/Gateway-OSS/3.7/kong-oss-3.7.yaml",
"dest": "api-specs/gateway/admin-oss/3.7/openapi.yaml"
},
{
"src": "api-specs/Gateway-OSS/3.8/kong-oss-3.8.yaml",
"dest": "api-specs/gateway/admin-oss/3.8/openapi.yaml"
},
{
"src": "api-specs/Gateway-OSS/3.9/kong-oss-3.9.yaml",
"dest": "api-specs/gateway/admin-oss/3.9/openapi.yaml"
}
]
}
24 changes: 24 additions & 0 deletions .github/workflows/push-oas-downstream.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Push OAS Downstream
on:
pull_request:
types: [closed]
branches: [main]

jobs:
raise-pr-on-change:
if: github.event.pull_request.merged == true
name: Raise PR on change
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Raise PR on change
uses: mheap/raise-pr-on-change-action@v1
with:
token: ${{ secrets.PAT }}
configFile: ".github/raise-pr-on-change.json"
prBranch: automated-update
targetBranch: main
prTitle: "feat(sdk): automated oas update - from docs repo"
prBody: "Generated OAS files from docs.konghq.com"
commitMessage: "feat(sdk): automated oas update from docs.konghq.com"
Loading