Skip to content

chore(deps-dev): Bump jest from 30.0.0-alpha.6 to 30.0.0-alpha.7 #31

chore(deps-dev): Bump jest from 30.0.0-alpha.6 to 30.0.0-alpha.7

chore(deps-dev): Bump jest from 30.0.0-alpha.6 to 30.0.0-alpha.7 #31

name: Update pnpm-lock.yaml for Dependabot PRs
on:
pull_request_target:
types: [opened, synchronize]
paths:
- '**/package.json'
workflow_dispatch:
jobs:
update-lockfile:
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' }}
permissions:
contents: write
pull-requests: write
steps:
- name: Setup Environment
uses: sap/ai-sdk-js/.github/actions/setup@main
with:
ref: ${{ github.head_ref }}
token: ${{ secrets.GH_CLOUD_SDK_JS_ADMIN_WRITE_TOKEN }}
pnpm-install-args: --lockfile-only
- name: Commit and push if changed
run: |
if [[ -n "$(git status --porcelain)" ]]; then
git config --global user.email "[email protected]"
git config --global user.name "cloud-sdk-js"
git add pnpm-lock.yaml
git commit -m "chore: update pnpm-lock.yaml"
git push
fi