diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000000..1492c91aca --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,15 @@ +# Basic dependabot.yml file with +# minimum configuration for two package managers + +version: 2 +updates: + # Enable version updates for npm + - package-ecosystem: 'npm' + directory: '/' + schedule: + interval: 'daily' + # Specify labels for npm pull requests + labels: + - 'npm' + - 'dependencies' + versioning-strategy: increase diff --git a/.github/workflows/yarn.js.yml b/.github/workflows/yarn.js.yml index e9b17f3965..7c9db4b79d 100644 --- a/.github/workflows/yarn.js.yml +++ b/.github/workflows/yarn.js.yml @@ -24,3 +24,14 @@ jobs: run: yarn lint - name: Test run: yarn test + + dependabot: + needs: + - Test + runs-on: ubuntu-latest + steps: + - name: auto-merge + uses: ridedott/dependabot-auto-merge-action@master + with: + GITHUB_LOGIN: dependabot[bot] + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}