]> git.ipfire.org Git - thirdparty/vuejs/router.git/commitdiff
chore: setup auto update of deps
authorEduardo San Martin Morote <posva13@gmail.com>
Tue, 9 Mar 2021 09:03:44 +0000 (10:03 +0100)
committerEduardo San Martin Morote <posva13@gmail.com>
Tue, 9 Mar 2021 09:03:44 +0000 (10:03 +0100)
.github/dependabot.yml [new file with mode: 0644]
.github/workflows/automerge.yml [new file with mode: 0644]

diff --git a/.github/dependabot.yml b/.github/dependabot.yml
new file mode 100644 (file)
index 0000000..0ee8388
--- /dev/null
@@ -0,0 +1,9 @@
+version: 2
+updates:
+  # Enable version updates for npm
+  - package-ecosystem: "npm"
+    # Look for `package.json` and `lock` files in the `root` directory
+    directory: "/"
+    # Check the npm registry for updates every day (weekdays)
+    schedule:
+      interval: "weekly"
diff --git a/.github/workflows/automerge.yml b/.github/workflows/automerge.yml
new file mode 100644 (file)
index 0000000..1c072fc
--- /dev/null
@@ -0,0 +1,15 @@
+name: auto-merge
+
+on:
+  pull_request:
+
+jobs:
+  auto-merge:
+    runs-on: ubuntu-latest
+    steps:
+      - uses: actions/checkout@v2
+      - uses: ahmadnassri/action-dependabot-auto-merge@v2
+        with:
+          target: minor
+          command: squash and merge
+          github-token: ${{ secrets.GH_TOKEN }}