fix dependabot syntax

(cherry picked from commit 80fe7cb6d2f2650c0809a5054f4d5a5260f07aae)
diff --git a/.github/dependabot.yml b/.github/dependabot.yml
index 192251e..d60c71d 100644
--- a/.github/dependabot.yml
+++ b/.github/dependabot.yml
@@ -17,19 +17,20 @@
 # Please see the documentation for all configuration options:
 # https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
 #
+version: 2
 updates:
   - package-ecosystem: "maven"
     directory: "/"
     schedule:
       interval: "daily"
+    ignore:
+      - dependency-name: org.codehaus.groovy:groovy
+        versions:
+          - ">= 2.5"
+      - dependency-name: commons-io:commons-io
+        versions:
+          - ">= 2.7"
   - package-ecosystem: "github-actions"
     directory: "/"
     schedule:
       interval: "daily"
-  ignore:
-    - dependency-name: org.codehaus.groovy:groovy
-      versions:
-      - ">= 2.5"
-    - dependency-name: commons-io:commons-io
-      versions:
-        - ">= 2.7"
\ No newline at end of file