Skip to content

Commit 9c739bc

Browse files
committed
Exclude gh-aw managed actions from Dependabot
Dependabot's mechanical SHA find-and-replace in workflow files breaks gh-aw lockfile metadata headers, causing runtime validation failures. The affected actions (`actions/github-script`, `github/gh-aw-actions/*`) are only used in gh-aw generated files and their SHAs are managed via `.github/aw/actions-lock.json` + `gh aw compile`. Added `ignore` rules to `.github/dependabot.yml` for these dependencies. Add maven ecosystem.
1 parent c02507e commit 9c739bc

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

.github/dependabot.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,15 @@ updates:
1212
directory: "/"
1313
schedule:
1414
interval: "weekly"
15+
ignore:
16+
# gh-aw generated files — action SHAs are managed by `gh aw compile`
17+
# via .github/aw/actions-lock.json, not by Dependabot.
18+
# Dependabot's find-and-replace breaks lockfile metadata headers.
19+
- dependency-name: "actions/github-script"
20+
- dependency-name: "github/gh-aw-actions/*"
1521

22+
- package-ecosystem: "maven"
23+
directory: "/"
24+
schedule:
25+
interval: "weekly"
26+
open-pull-requests-limit: 5

0 commit comments

Comments
 (0)