Skip to content

Commit 07e6b52

Browse files
author
Harold James Quilang
committed
feat: update sdk configs & github action workflows
1 parent 8901f71 commit 07e6b52

File tree

418 files changed

+129
-58622
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

418 files changed

+129
-58622
lines changed

.gitattributes

Lines changed: 0 additions & 2 deletions
This file was deleted.
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: '[Stable] Generate'
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
paths:
8+
- .speakeasy/gen.yaml
9+
10+
jobs:
11+
publish:
12+
uses: ./.github/workflows/sdk_generation.yml
13+
name: Runner
14+
secrets: inherit
15+
with:
16+
target: orq-ai-sdk-python

.github/workflows/sdk_generation.yaml

Lines changed: 0 additions & 54 deletions
This file was deleted.

.github/workflows/sdk_generation.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Generate
2+
3+
on:
4+
workflow_call:
5+
inputs:
6+
target:
7+
type: string
8+
default: false
9+
10+
concurrency:
11+
group: ${{ github.workflow }}-${{ github.ref }}
12+
cancel-in-progress: false
13+
14+
env:
15+
DOCKER_DEFAULT_PLATFORM: linux/amd64
16+
17+
permissions:
18+
checks: write
19+
contents: write
20+
pull-requests: write
21+
statuses: write
22+
id-token: write
23+
24+
jobs:
25+
generate:
26+
uses: speakeasy-api/sdk-generation-action/.github/workflows/workflow-executor.yaml@v15
27+
with:
28+
mode: direct
29+
target: ${{ inputs.target }}
30+
secrets:
31+
github_access_token: ${{ secrets.GITHUB_TOKEN }}
32+
pypi_token: ${{ secrets.PYPI_TOKEN }}
33+
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: '[Pre-release] Generate'
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
paths:
8+
- packages/orq-rc/.speakeasy/gen.yaml
9+
10+
jobs:
11+
publish:
12+
uses: ./.github/workflows/sdk_generation.yml
13+
name: Runner
14+
secrets: inherit
15+
with:
16+
target: orq-ai-sdk-prerelease-python

.gitignore

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)