Skip to content

Commit

Permalink
Autobump to latest version and automerge
Browse files Browse the repository at this point in the history
  • Loading branch information
raghunathd8 committed Apr 29, 2024
1 parent 1d55c5c commit 8235622
Show file tree
Hide file tree
Showing 2 changed files with 82 additions and 0 deletions.
62 changes: 62 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
version: 2
updates:
- package-ecosystem: gomod
directory: /http2/go-grpc
schedule:
interval: "daily"
time: "06:00"
timezone: "Europe/Berlin"
- package-ecosystem: gomod
directory: /http2/go-http2
schedule:
interval: "daily"
time: "06:00"
timezone: "Europe/Berlin"
- package-ecosystem: gradle
directory: /http2/java-grpc
schedule:
interval: "daily"
time: "08:00"
timezone: "Europe/Berlin"
- package-ecosystem: gradle
directory: /http2/java-http2
schedule:
interval: "daily"
time: "08:00"
timezone: "Europe/Berlin"
- package-ecosystem: npm
directory: /http2/node-grpc
schedule:
interval: "daily"
time: "10:00"
timezone: "Europe/Berlin"
- package-ecosystem: npm
directory: /http2/node-http2
schedule:
interval: "daily"
time: "10:00"
timezone: "Europe/Berlin"
- package-ecosystem: pip
directory: /http2/python-grpc
schedule:
interval: "daily"
time: "12:00"
timezone: "Europe/Berlin"
- package-ecosystem: pip
directory: /http2/python-http2
schedule:
interval: "daily"
time: "12:00"
timezone: "Europe/Berlin"
- package-ecosystem: bundler
directory: /http2/ruby-grpc
schedule:
interval: "daily"
time: "14:00"
timezone: "Europe/Berlin"
- package-ecosystem: bundler
directory: /http2/ruby-http2
schedule:
interval: "daily"
time: "14:00"
timezone: "Europe/Berlin"
20 changes: 20 additions & 0 deletions .github/workflows/automerge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Auto-merge dependency PRs
on: pull_request_target

permissions:
pull-requests: write
contents: write

jobs:
automerge:
runs-on: ubuntu-latest
if: github.actor == 'dependabot[bot]'
steps:
- name: Approve
run: gh pr review "${{ github.event.pull_request.html_url }}" --approve --body "Auto-approving dependency bump."
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Enable auto-merge
run: gh pr merge "${{ github.event.pull_request.html_url }}" --auto --rebase
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 8235622

Please sign in to comment.