summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>2021-04-29 18:14:11 -0400
committerGitHub <noreply@github.com>2021-04-29 18:14:11 -0400
commitabe830ffe749ef0d75e6139ac5e434dbf847b81d (patch)
treee3e9dd090cc2643cb92fb3afbc2a014470f4dbe6
parent540c2c2475571f93a7ecaf813a7832f31cc6d8be (diff)
build: upgrade to GitHub-native Dependabot (#2665)
* Upgrade to GitHub-native Dependabot * ci: add dependabot-auto-merge action * ci: update job name Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> Co-authored-by: Matan Kushner <hello@matchai.dev>
-rw-r--r--.github/dependabot.yml23
-rw-r--r--.github/workflows/auto-merge.yml14
-rw-r--r--.github/workflows/security-audit.yml (renamed from .github/workflows/security_audit.yml)1
-rw-r--r--.github/workflows/workflow.yml1
4 files changed, 37 insertions, 2 deletions
diff --git a/.github/dependabot.yml b/.github/dependabot.yml
new file mode 100644
index 000000000..c0d36a0b0
--- /dev/null
+++ b/.github/dependabot.yml
@@ -0,0 +1,23 @@
+version: 2
+updates:
+- package-ecosystem: cargo
+ directory: "/"
+ schedule:
+ interval: daily
+ open-pull-requests-limit: 10
+ labels:
+ - "\U0001F4E6 dependencies"
+- package-ecosystem: npm
+ directory: "/docs"
+ schedule:
+ interval: weekly
+ open-pull-requests-limit: 10
+ labels:
+ - "\U0001F4E6 dependencies"
+- package-ecosystem: github-actions
+ directory: "/"
+ schedule:
+ interval: daily
+ open-pull-requests-limit: 10
+ labels:
+ - "\U0001F4E6 dependencies"
diff --git a/.github/workflows/auto-merge.yml b/.github/workflows/auto-merge.yml
new file mode 100644
index 000000000..515de1670
--- /dev/null
+++ b/.github/workflows/auto-merge.yml
@@ -0,0 +1,14 @@
+name: Dependabot
+
+on: [pull_request]
+
+jobs:
+ auto_merge:
+ name: Auto-merge Dependabot PRs
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - uses: ahmadnassri/action-dependabot-auto-merge@v2
+ with:
+ target: minor
+ github-token: ${{ secrets.DEPENDABOT_GITHUB_API_TOKEN }}
diff --git a/.github/workflows/security_audit.yml b/.github/workflows/security-audit.yml
index 9ab06e92a..9a813022c 100644
--- a/.github/workflows/security_audit.yml
+++ b/.github/workflows/security-audit.yml
@@ -1,4 +1,3 @@
----
name: Security audit
on:
pull_request:
diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml
index 945ea1764..114d3569d 100644
--- a/.github/workflows/workflow.yml
+++ b/.github/workflows/workflow.yml
@@ -1,4 +1,3 @@
----
name: Main workflow
on:
push: