Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

Improve dependency management (#208)

Marc Klingen825c34b415fd
diff --git a/.github/dependabot.yml b/.github/dependabot.yml
index 5944f28911..2c162f7424 100644
--- a/.github/dependabot.yml
+++ b/.github/dependabot.yml
@@ -8,4 +8,8 @@ updates:
- package-ecosystem: npm
directory: "/" # Location of package manifests
schedule:
- interval: "weekly"
+ interval: "daily"
+ commit-message:
+ prefix: chore
+ prefix-development: chore
+ include: scope
diff --git a/.github/workflows/merge-dependabot.yml b/.github/workflows/merge-dependabot.yml
new file mode 100644
index 0000000000..36718ba38a
--- /dev/null
+++ b/.github/workflows/merge-dependabot.yml
@@ -0,0 +1,26 @@
+name: Dependabot auto-merge
+on:
+ workflow_dispatch:
+ pull_request:
+ branches: [main]
+
+permissions:
+ contents: write
+ pull-requests: write
+
+jobs:
+ dependabot:
+ runs-on: ubuntu-latest
+ if: ${{ github.actor == 'dependabot[bot]' }}
+ steps:
+ - name: Dependabot metadata
+ id: metadata
+ uses: dependabot/fetch-metadata@v1
+ with:
+ github-token: "${{ secrets.GITHUB_TOKEN }}"
+ - name: Enable auto-merge for Dependabot PRs
+ if: ${{steps.metadata.outputs.update-type == 'version-update:semver-patch'}}
+ run: gh pr merge --auto --merge "$PR_URL"
+ env:
+ PR_URL: ${{github.event.pull_request.html_url}}
+ GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}