diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..ab81530 --- /dev/null +++ b/.github/dependabot.yml @@ -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 diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5f5185d..9db1e80 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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