Skip to content

Commit c4c1a1c

Browse files
authored
ci: add Dependabot and auto-merge for hotdata SDK updates (#14)
* ci: add Dependabot for hotdata SDK updates * ci: scope Dependabot to hotdata packages, fix ecosystem * ci: auto-merge Dependabot PRs
1 parent 9b33f12 commit c4c1a1c

2 files changed

Lines changed: 26 additions & 0 deletions

File tree

.github/dependabot.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: pip
4+
directory: "/"
5+
schedule:
6+
interval: daily
7+
allow:
8+
- dependency-name: hotdata
9+
- dependency-name: hotdata-runtime
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Dependabot auto-merge
2+
3+
on: pull_request
4+
5+
permissions:
6+
contents: write
7+
pull-requests: write
8+
9+
jobs:
10+
auto-merge:
11+
runs-on: ubuntu-latest
12+
if: github.actor == 'dependabot[bot]'
13+
steps:
14+
- name: Enable auto-merge
15+
run: gh pr merge --squash --auto "${{ github.event.pull_request.number }}"
16+
env:
17+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)