Skip to content
Open
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
26 changes: 0 additions & 26 deletions .github/dependabot.yml

This file was deleted.

7 changes: 7 additions & 0 deletions .github/renovate.jsonc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"github>sap/ai-sdk-js:.github/renovate.jsonc",
"group:docusaurusMonorepo"
]
}
2 changes: 1 addition & 1 deletion .github/workflows/auto-lint-fix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ permissions: {}

jobs:
fix-lint:
if: github.actor != 'dependabot[bot]' && !github.event.pull_request.head.repo.fork
if: github.event.pull_request.user.type != 'Bot' && !github.event.pull_request.head.repo.fork
runs-on: ubuntu-latest
permissions:
contents: read # all write operations use app token
Expand Down
24 changes: 0 additions & 24 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,27 +77,3 @@ jobs:
run: npm ci
- name: Build docs
run: npm run build

dependabot:
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' && github.event_name == 'pull_request' }}
needs: [build]
permissions:
pull-requests: write
contents: write
steps:
- name: Dependabot metadata
id: metadata
uses: dependabot/fetch-metadata@25dd0e34f4fe68f24cc83900b1fe3fe149efef98 # v3.1.0
with:
github-token: '${{ secrets.GITHUB_TOKEN }}'
- name: Approve a PR
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
run: gh pr review --approve "$PR_URL"
- name: Enable auto-merge for Dependabot PRs
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
run: gh pr merge --auto --squash "$PR_URL"