Skip to content

Commit

Permalink
Enable dependabot
Browse files Browse the repository at this point in the history
  • Loading branch information
xificurk committed Feb 20, 2021
1 parent fa59b7e commit c5775fa
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/dependabot.yml
@@ -0,0 +1,19 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
- package-ecosystem: "composer"
directory: "/"
schedule:
interval: "daily"
versioning-strategy: "increase"
open-pull-requests-limit: 10
allow:
- dependency-type: "development"
ignore:
- dependency-name: "nette/bootstrap"
- dependency-name: "nette/di"
- dependency-name: "nette/http"
- dependency-name: "nette/caching"
21 changes: 21 additions & 0 deletions .github/workflows/dependabot.yaml
@@ -0,0 +1,21 @@
name: "Dependabot"

on:
pull_request_target:

jobs:
auto_merge:
if: ${{ github.actor == 'dependabot[bot]' }}
runs-on: ubuntu-latest
name: "Auto merge"
steps:
- uses: actions/github-script@v3
with:
github-token: ${{secrets.PERSONAL_REPO_TOKEN}}
script: |
github.issues.createComment({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.issue.number,
body: '@dependabot squash and merge'
})

0 comments on commit c5775fa

Please sign in to comment.