Skip to content

Commit 6def020

Browse files
leofangCopilot
andauthored
CI: Make sure dependabot can target the backport branch too (#1706)
* Initial plan * Update dependabot.yml to add GitHub Actions updates for 12.9.x branch Co-authored-by: leofang <5534781+leofang@users.noreply.github.com> * fix: update comment to say 'main' instead of 'master' Co-authored-by: leofang <5534781+leofang@users.noreply.github.com> * docs: add sync note for target-branch referencing ci/versions.yml Co-authored-by: leofang <5534781+leofang@users.noreply.github.com> * docs: cross-reference dependabot.yml in ci/versions.yml Co-authored-by: leofang <5534781+leofang@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: leofang <5534781+leofang@users.noreply.github.com>
1 parent 6121573 commit 6def020

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

.github/dependabot.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
version: 2
66
updates:
7+
# GitHub Actions updates targeting the default branch (main)
78
- package-ecosystem: github-actions
89
directory: /
910
schedule:
@@ -19,3 +20,21 @@ updates:
1920
applies-to: version-updates
2021
patterns: ["*"]
2122
update-types: ["major", "minor", "patch"]
23+
24+
# GitHub Actions updates targeting the 12.9.x branch
25+
- package-ecosystem: github-actions
26+
directory: /
27+
target-branch: "12.9.x" # keep in sync with backport_branch in ci/versions.yml
28+
schedule:
29+
interval: "monthly"
30+
time: "09:00"
31+
timezone: "America/Los_Angeles"
32+
33+
# Keep churn down: only one open PR from this ecosystem at a time
34+
open-pull-requests-limit: 1
35+
36+
groups:
37+
actions-monthly:
38+
applies-to: version-updates
39+
patterns: ["*"]
40+
update-types: ["major", "minor", "patch"]

ci/versions.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SPDX-FileCopyrightText: Copyright (c) 2024-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
22
# SPDX-License-Identifier: Apache-2.0
33

4-
backport_branch: "12.9.x"
4+
backport_branch: "12.9.x" # keep in sync with target-branch in .github/dependabot.yml
55

66
cuda:
77
build:

0 commit comments

Comments
 (0)