Commit 90ad570bf9a5

Vincent Demeester <vincent@sbr.pm>
2026-02-12 10:31:52
fix: archive dependabot subscribed notifications
Added rule to also archive dependabot PRs with reason 'subscribed' (new PR notifications), not just state changes. Covers build(deps) and build(deps-dev) titles.
1 parent 5736d47
Changed files (1)
dots
config
github-notif-manager
dots/config/github-notif-manager/config.yaml
@@ -57,9 +57,9 @@ rules:
 
   # ─── TARGETED ARCHIVE rules — before the general keep ─────────────────
 
-  # Merged Dependabot PRs (titles: "Bump ..." or "chore(deps): bump ...")
-  - name: "Archive merged Dependabot PRs"
-    description: "Merged dependency update PRs from dependabot"
+  # Dependabot PRs — all reasons (titles: "Bump ...", "chore(deps): bump ...", "build(deps): bump ...")
+  - name: "Archive Dependabot PRs (state changes)"
+    description: "Merged/closed dependency update PRs"
     filters:
       subject_type: "PullRequest"
       reason: "state_change"
@@ -67,6 +67,15 @@ rules:
     action: done
     enabled: true
 
+  - name: "Archive Dependabot PRs (subscribed)"
+    description: "New dependency update PRs from watched repos"
+    filters:
+      subject_type: "PullRequest"
+      reason: "subscribed"
+      subject_title: "*bump *"
+    action: done
+    enabled: true
+
   # openshift-pipelines/operator review requests (437 notifications!)
   # These are almost all automated bot/renovate PRs
   - name: "Archive operator bot review requests"