浏览代码

Merge pull request #1249 from cclauss/patch-2

Keep GitHub Actions up to date with GitHub's Dependabot
Jelmer Vernooij 1 年之前
父节点
当前提交
3ccdee78f5
共有 2 个文件被更改,包括 14 次插入1 次删除
  1. 13 0
      .github/dependabot.yml
  2. 1 1
      dulwich/pack.py

+ 13 - 0
.github/dependabot.yml

@@ -0,0 +1,13 @@
+# Keep GitHub Actions up to date with GitHub's Dependabot...
+# https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot
+# https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#package-ecosystem
+version: 2
+updates:
+  - package-ecosystem: "github-actions"
+    directory: "/"
+    groups:
+      GitHub_Actions:
+        patterns:
+          - "*"  # Group all Actions updates into a single larger pull request
+    schedule:
+      interval: weekly

+ 1 - 1
dulwich/pack.py

@@ -2779,7 +2779,7 @@ def extend_pack(
 
 
 try:
-    from dulwich._pack import (  # type: ignore  # noqa: F811
+    from dulwich._pack import (  # type: ignore
         apply_delta,  # type: ignore
         bisect_find_sha,  # type: ignore
     )