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 985346a
Show file tree
Hide file tree
Showing 2 changed files with 80 additions and 1 deletion.
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"
19 changes: 18 additions & 1 deletion .github/workflows/test-sample-apps.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: TEST
name: Sample apps test and update

on:
push:
Expand All @@ -7,6 +7,10 @@ on:
branches: [ main ]
types: [ opened, synchronize, reopened ]

permissions:
pull-requests: write
contents: write

jobs:
sample-app-test:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -75,3 +79,16 @@ jobs:
echo "Deleting app: $app_name"
cf8 delete "$app_name" -r -f
done
automerge:
runs-on: ubuntu-latest
if: github.actor == 'dependabot[bot]'
needs: [sample-app-test]
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 985346a

Please sign in to comment.