From c045e1a5112ec8f06a2f40d16aced7b5dd266817 Mon Sep 17 00:00:00 2001 From: Salman Mitha Date: Thu, 19 Nov 2020 10:17:48 +0530 Subject: [PATCH 1/3] chore: create dependabot config --- .github/dependabot.yml | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..6cab366 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,8 @@ +version: 2 +updates: + - package-ecosystem: npm + directory: '/' + schedule: + interval: daily + open-pull-requests-limit: 10 + From ca372dbea4793d2da9d3450946081de7defde315 Mon Sep 17 00:00:00 2001 From: Salman Mitha Date: Thu, 19 Nov 2020 10:17:50 +0530 Subject: [PATCH 2/3] chore: remove old dependabot config --- .dependabot/config.yml | 5 ----- 1 file changed, 5 deletions(-) delete mode 100644 .dependabot/config.yml diff --git a/.dependabot/config.yml b/.dependabot/config.yml deleted file mode 100644 index cae63e3..0000000 --- a/.dependabot/config.yml +++ /dev/null @@ -1,5 +0,0 @@ -version: 1 -update_configs: - - package_manager: "javascript" - directory: "/" - update_schedule: "daily" From 913a252c5d2a132370c0c12a62df53c0caf2ff3b Mon Sep 17 00:00:00 2001 From: Salman Mitha Date: Thu, 19 Nov 2020 10:18:03 +0530 Subject: [PATCH 3/3] Update ci.yml --- .github/workflows/ci.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 14037f4..46341f9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,3 +18,12 @@ jobs: run: npm run lint-ci - name: Test run: npm run test-ci + + automerge: + needs: test + runs-on: ubuntu-latest + steps: + - uses: fastify/github-action-merge-dependabot@v1 + if: ${{ github.actor == 'dependabot[bot]' && github.event_name == 'pull_request' }} + with: + github-token: ${{secrets.github_token}}