Skip to content

Commit

Permalink
chore: add support for dependabot
Browse files Browse the repository at this point in the history
  • Loading branch information
char0n committed Mar 7, 2021
1 parent 1fa4d7f commit 7408c5d
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
version: 2
updates:
- package-ecosystem: npm
directory: "/"
schedule:
interval: daily
commit-message:
prefix: "chore"
include: "scope"
open-pull-requests-limit: 10
20 changes: 20 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,23 @@ jobs:
uses: char0n/swagger-editor-validate@master
with:
definition-file: examples/openapi-2-0.yaml

merge-me:
name: Merge me!
if: github.actor == 'dependabot[bot]'
runs-on: ubuntu-latest

needs: [test_github_action, test_swagger_editor_validate_service, test_swagger_editor_validate_remote]

strategy:
matrix:
node-version: [12.x]

steps:
- name: Merge me!
uses: ridedott/merge-me-action@master
with:
GITHUB_LOGIN: dependabot[bot]
GITHUB_TOKEN: ${{ secrets.MERGE_ME_GITHUB_TOKEN }}
MERGE_METHOD: SQUASH
PRESET: DEPENDABOT_MINOR

0 comments on commit 7408c5d

Please sign in to comment.