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 74c9967 commit 0488922
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/dependabot.yml
@@ -0,0 +1,17 @@
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"
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 0488922

Please sign in to comment.