Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
c4e91f9
feat(ci): add setup action and other GitHub composite actions
BrigittaK307 Sep 4, 2026
0619528
chore(ci): move non-setup actions to I753325-652 branch
BrigittaK307 Sep 8, 2026
8292691
Added github actions to repo and replaced with devEngines
BrigittaK307 Sep 2, 2026
ae38681
Added setup action and checkout step to workflows
BrigittaK307 Sep 2, 2026
e9c5f65
version change and added github actions to ignore list
BrigittaK307 Sep 2, 2026
1ca8188
fixed dep check
BrigittaK307 Sep 3, 2026
78d0ef8
Updated lockfile
BrigittaK307 Sep 3, 2026
0075d10
chore(deps): update dependency @upstash/context7-mcp to v4.0.4 (#2236)
renovate[bot] Sep 1, 2026
a6fb4a0
feat(openai): migrate Realtime URL to buildRealtimeURL callback, rais…
InjunPark-sap Sep 2, 2026
1936870
chore(deps): update dependency orval to v8.27.0 (#2243)
renovate[bot] Sep 2, 2026
14a3909
regenerated lockfile
BrigittaK307 Sep 3, 2026
228e720
chore(ci): remove action files — will come from setup-action PR
BrigittaK307 Sep 4, 2026
bdd3b69
feat(ci): add composite and node GitHub Actions
BrigittaK307 Sep 8, 2026
703c437
Added github actions to repo and replaced with devEngines
BrigittaK307 Sep 2, 2026
32edcab
Added setup action and checkout step to workflows
BrigittaK307 Sep 2, 2026
7cf923f
version change and added github actions to ignore list
BrigittaK307 Sep 2, 2026
08aca00
fixed dep check
BrigittaK307 Sep 3, 2026
f5d2591
Updated lockfile
BrigittaK307 Sep 3, 2026
44ab11c
chore(deps): update dependency @upstash/context7-mcp to v4.0.4 (#2236)
renovate[bot] Sep 1, 2026
6d41c2a
chore(deps): update dependency zod to v4.5.1 (#2238)
renovate[bot] Sep 1, 2026
7cffba4
chore(deps): update dependency zod to v4.5.2 (#2239)
renovate[bot] Sep 2, 2026
c755c3c
feat(openai): migrate Realtime URL to buildRealtimeURL callback, rais…
InjunPark-sap Sep 2, 2026
d997715
chore(deps): update dependency orval to v8.27.0 (#2243)
renovate[bot] Sep 2, 2026
548ecda
chore(deps): update dependency hyparquet-writer to v0.16.9 (#2245)
renovate[bot] Sep 3, 2026
e7e968d
chore(deps): update dependency zod to v4.5.4 (#2246)
renovate[bot] Sep 3, 2026
dcec9e1
regenerated lockfile
BrigittaK307 Sep 3, 2026
0277562
chore(ci): remove action files — will come from setup-action PR
BrigittaK307 Sep 4, 2026
da039e0
feat(ci): add composite and node GitHub Actions
BrigittaK307 Sep 8, 2026
561662d
regenerated lockfile
BrigittaK307 Sep 8, 2026
85fb4f8
fix: include path in check-pr workflow
BrigittaK307 Sep 8, 2026
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
11 changes: 11 additions & 0 deletions .github/actions/changesets-fixed-version-bump/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: 'Fixed version bump'
description: 'Bumps version for fixed packages and the root package.json using changesets.'
inputs:
majorVersion:
description: 'When setting a major version this needs to be set to the actual major version to avoid accidental major version bumps.'
outputs:
version:
description: 'The new version'
runs:
using: 'node24'
main: 'dist/index.js'
9 changes: 9 additions & 0 deletions .github/actions/check-pr/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: 'Check PR'
description: 'Checks the current PR for semantical correctness and appropriate changelog.'
inputs:
changed-files:
description: 'Changed files in the .changeset directory on the current PR.'
required: true
runs:
using: 'node24'
main: 'dist/index.js'
14 changes: 14 additions & 0 deletions .github/actions/check-public-api/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: 'Check public API'
description: 'Checks whether the public API is correctly exported.'
inputs:
force_internal_exports:
description: 'Whether to force that everything is exported through the internal API.'
default: 'false'
excluded_packages:
description: 'Packages to exclude when checking the public API.'
ignored_path_pattern:
description: 'Regular expression for paths to be ignore when checking the public API.'

runs:
using: 'node24'
main: 'dist/index.js'
27 changes: 27 additions & 0 deletions .github/actions/commit-and-tag/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: 'Commit and tag'
description: Commits and tags the current changes.
inputs:
version:
required: true
description: Version to use for the tag and commit message
user-email:
description: User e-mail address to use for the commit
default: sap-cloud-sdk@github.com
user-name:
description: User name to use for the commit
default: sap-cloud-sdk
runs:
using: 'composite'
steps:
- env:
VERSION: ${{ inputs.version }}
USER_EMAIL: ${{ inputs.user-email }}
USER_NAME: ${{ inputs.user-name }}
shell: bash
run: |
git config --global user.email "$USER_EMAIL"
git config --global user.name "$USER_NAME"
git add -A
git commit -m "v$VERSION"
git tag "v$VERSION" -m "v$VERSION"
git push --follow-tags
8 changes: 8 additions & 0 deletions .github/actions/get-changelog/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
name: 'Get current changelog'
description: 'Gets the current changelog'
outputs:
changelog:
description: 'The current changelog'
runs:
using: 'node24'
main: 'dist/index.js'
5 changes: 5 additions & 0 deletions .github/actions/merge-and-write-changelogs/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
name: 'Merge Changelogs'
description: 'Merges all public changelogs from changesets into a single changelog.'
runs:
using: 'node24'
main: 'dist/index.js'
42 changes: 0 additions & 42 deletions .github/actions/setup/action.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/renovate.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"pinDigests": false
},
{
"matchPackageNames": ["@sap-cloud-sdk/**", "sap/cloud-sdk-js", "sap/cloud-sdk-js/**"],
"matchPackageNames": ["@sap-cloud-sdk/**"],
"groupName": "sap-cloud-sdk",
"minimumReleaseAge": null,
"pinDigests": false
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/api-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
permissions:
contents: read
steps:
- uses: sap/cloud-sdk-js/.github/actions/setup@main
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: ./.github/actions/setup
- name: Generate API documentation
run: |
pnpm generate
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/auto-fix-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,12 @@
client-id: ${{ secrets.SAP_AI_SDK_BOT_CLIENT_ID }}
private-key: ${{ secrets.SAP_AI_SDK_BOT_PRIVATE_KEY }}
permission-contents: write
- uses: sap/cloud-sdk-js/.github/actions/setup@main
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
ref: ${{ github.head_ref }}
persist-credentials: true
token: ${{ steps.app-token.outputs.token }}
persist-credentials: true
- uses: ./.github/actions/setup
- run: pnpm lint:fix
- name: Commit Changes if needed
env:
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/auto-gen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,12 @@
client-id: ${{ secrets.SAP_AI_SDK_BOT_CLIENT_ID }}
private-key: ${{ secrets.SAP_AI_SDK_BOT_PRIVATE_KEY }}
permission-contents: write
- uses: sap/cloud-sdk-js/.github/actions/setup@main
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
ref: ${{ github.head_ref }}
persist-credentials: true
token: ${{ steps.app-token.outputs.token }}
persist-credentials: true
- uses: ./.github/actions/setup
- name: Generate and apply patches
shell: bash
run: |
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
node-version: [26, 24, 22]

steps:
- uses: sap/cloud-sdk-js/.github/actions/setup@main
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: ./.github/actions/setup
with:
node-version: ${{ matrix.node-version }}
# type-check can run in parallel to unit tests
Expand Down Expand Up @@ -50,7 +51,8 @@
permissions:
contents: read
steps:
- uses: sap/cloud-sdk-js/.github/actions/setup@main
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: ./.github/actions/setup
- name: Enforce generated code is up to date
shell: bash
run: |
Expand All @@ -74,14 +76,12 @@
# Independent read-only checks — run them concurrently.
- parallel:
- name: Check public API
uses: sap/cloud-sdk-js/.github/actions/check-public-api@main
uses: ./.github/actions/check-public-api
with:
force_internal_exports: 'false'
ignored_path_pattern: '.*?/client/.*?/schema|.*?/zod/.*?'
- name: Check dependencies
run: pnpm check:deps --reporter=github-actions
- name: License Check
uses: sap/cloud-sdk-js/.github/actions/check-license@main
- name: API Doc Check
run: pnpm doc
- wait-all:
14 changes: 8 additions & 6 deletions .github/workflows/bump.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,23 +23,24 @@
client-id: ${{ secrets.SAP_AI_SDK_BOT_CLIENT_ID }}
private-key: ${{ secrets.SAP_AI_SDK_BOT_PRIVATE_KEY }}
permission-contents: write
- uses: sap/cloud-sdk-js/.github/actions/setup@main
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
token: ${{ steps.app-token.outputs.token }}
ref: 'main'
token: ${{ steps.app-token.outputs.token }}
persist-credentials: true
- uses: ./.github/actions/setup
- name: Bump version
id: bump
uses: sap/cloud-sdk-js/.github/actions/changesets-fixed-version-bump@main
uses: ./.github/actions/changesets-fixed-version-bump
with:
majorVersion: ${{ inputs.majorVersion }}
- name: Merge and write changelogs
id: merge-changelogs
env:
VERSION: ${{ steps.bump.outputs.version }}
uses: sap/cloud-sdk-js/.github/actions/merge-and-write-changelogs@main
uses: ./.github/actions/merge-and-write-changelogs
- name: Commit and tag
uses: sap/cloud-sdk-js/.github/actions/commit-and-tag@main
uses: ./.github/actions/commit-and-tag
with:
version: ${{ steps.bump.outputs.version }}
user-name: ${{ vars.SAP_AI_SDK_BOT_NAME }}
Expand All @@ -64,7 +65,8 @@
permission-contents: write
permission-pull-requests: write
- name: Checkout current repository
uses: sap/cloud-sdk-js/.github/actions/setup@main
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: ./.github/actions/setup
with:
node-version: ${{ vars.DEFAULT_NODE_VERSION }}
- name: Fetch full commit history (blobless)
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/check-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
persist-credentials: false
sparse-checkout: |
.github/PULL_REQUEST_TEMPLATE.md
.github/actions
.changeset
- name: Collect changed files
id: changed-files
Expand All @@ -29,6 +30,6 @@
files: |
.changeset/**
!.changeset/config.json
- uses: sap/cloud-sdk-js/.github/actions/check-pr@main
- uses: ./.github/actions/check-pr
with:
changed-files: ${{ steps.changed-files.outputs.added_files }} ${{ steps.changed-files.outputs.modified_files }}
6 changes: 4 additions & 2 deletions .github/workflows/draft-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,12 @@ jobs:
permissions:
contents: write
steps:
- uses: sap/cloud-sdk-js/.github/actions/setup@main
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
Comment thread
github-advanced-security[bot] marked this conversation as resolved.
Fixed
- uses: ./.github/actions/setup
- name: Get Changelog
id: get-changelog
uses: sap/cloud-sdk-js/.github/actions/get-changelog@main
uses: ./.github/actions/get-changelog
uses: ./.github/actions/get-changelog
- name: Create Draft Release
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@
permissions:
contents: read
steps:
- uses: sap/cloud-sdk-js/.github/actions/setup@main
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: ./.github/actions/setup
- name: Create .env file
env:
AICORE_SERVICE_KEY: ${{ secrets[matrix.secret-name] }} # zizmor: ignore[overprovisioned-secrets]
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/fosstars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,11 @@
checks: write
contents: write
steps:
- uses: sap/cloud-sdk-js/.github/actions/setup@main
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: ./.github/actions/setup
# OWASP runs in Docker and cannot see the runner's pnpm install. Put the
# standalone pnpm 11 bundle in the mounted workspace instead.
# standalone pnpm bundle in the mounted workspace instead.
# Keep this version in sync with devEngines.packageManager.version in package.json.
- name: Install pnpm for OWASP container
shell: bash
env:
Expand Down Expand Up @@ -56,6 +58,7 @@
args: >
--failOnCVSS 7
--disableYarnAudit
--disablePnpmAudit
--exclude '**/.local/pnpm/**'
--nodeAuditSkipDevDependencies
--pnpm /github/workspace/.local/pnpm/pnpm
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/issue-reply.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
# issues: write

steps:
- uses: sap/cloud-sdk-js/.github/actions/setup@main
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: ./.github/actions/setup
with:
registry-token: ${{ secrets.NPM_TOKEN_ARTIFACTORY }}

Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/publish-canary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
id-token: write

steps:
- uses: sap/cloud-sdk-js/.github/actions/setup@main
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: ./.github/actions/setup
with:
pnpm-install-args: ''
package-manager-cache: false
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@
repositories: ai-sdk
permission-contents: read
permission-pull-requests: read
- uses: sap/cloud-sdk-js/.github/actions/setup@main
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: ./.github/actions/setup
with:
package-manager-cache: false
- name: Determine Release Notes PR Branch Name
Expand Down Expand Up @@ -75,7 +76,8 @@
contents: read
id-token: write
steps:
- uses: sap/cloud-sdk-js/.github/actions/setup@main
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: ./.github/actions/setup
with:
package-manager-cache: false
- name: publish
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/smoke-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
permissions:
contents: read
steps:
- uses: sap/cloud-sdk-js/.github/actions/setup@main
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: ./.github/actions/setup
- name: Update smoke test dependencies
# Always use latest SDK packages for smoke tests to ensure they are tested against the latest version.
run: pnpm --filter @sap-ai-sdk/smoke-tests update '@sap-ai-sdk/*' --no-save --ignore-scripts
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/spec-update.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,11 @@
CREATE_PR: ${{ inputs.create-pr }}
BRANCH: spec-update/${{ inputs.service }}/${{ inputs.ref }}
steps:
- uses: sap/cloud-sdk-js/.github/actions/setup@main
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: true
token: ${{ secrets.GITHUB_TOKEN }}
persist-credentials: true
- uses: ./.github/actions/setup

- name: 'Checkout or Create Branch'
id: branch
Expand Down
3 changes: 1 addition & 2 deletions .github/zizmor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@ rules:
dangerous-triggers:
ignore:
- dependabot-pnpm-lock.yml
# allow unpinned references to own repositories
# allow unpinned references to own repository
unpinned-uses:
config:
policies:
'sap/ai-sdk-js/*': any
'sap/cloud-sdk-js/*': any
6 changes: 6 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@
"sample-cap": "pnpm -F=@sap-ai-sdk/sample-cap run",
"check:deps": "knip --config knip.config.mjs -W '!.' -W '!./sample-cap'"
},
"devEngines": {
"packageManager": {
"name": "pnpm",
"version": "12"
}
},
"devDependencies": {
"@changesets/cli": "3.0.2",
"@sap-ai-sdk/ai-api": "workspace:^",
Expand Down
Loading
Loading