Commit 0252af7
Fix dependabot YAML parse and drop dead label references
The Approve PR step in dependabot-automerge.yml had an inline
`${{ steps.decide.outputs.reason }}` expansion inside an unquoted
flow-scalar `run:` value. The expansion produces a string containing
`: ` (e.g. "major update — manual review required"), which strict YAML
parsers reject with "mapping values are not allowed here." GitHub
Actions' parser was lenient enough to run it, but Dependabot's parser
failed the file and refused to update PRs, posting "Dependabot can't
parse your dependabot-automerge.yml" on every dependency PR.
Fix: move the interpolation into env: (REASON) and switch all three
`run:` lines to block scalars. This also matches the GitHub-recommended
pattern that protects against shell injection if an upstream value ever
contains shell metacharacters.
Also drops references to labels that were removed in the label-cleanup
pass (feature, fix, chore) from release.yml's changelog config; those
labels no longer exist on the repo so their bucket entries were dead.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 171aec3 commit 0252af7
2 files changed
Lines changed: 7 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | 11 | | |
13 | 12 | | |
14 | 13 | | |
15 | | - | |
16 | 14 | | |
17 | 15 | | |
18 | 16 | | |
19 | 17 | | |
20 | 18 | | |
21 | 19 | | |
22 | 20 | | |
23 | | - | |
24 | 21 | | |
25 | 22 | | |
26 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
74 | 76 | | |
75 | 77 | | |
76 | 78 | | |
77 | 79 | | |
78 | 80 | | |
79 | 81 | | |
80 | | - | |
| 82 | + | |
| 83 | + | |
81 | 84 | | |
82 | 85 | | |
83 | 86 | | |
84 | 87 | | |
85 | 88 | | |
86 | 89 | | |
| 90 | + | |
87 | 91 | | |
88 | | - | |
| 92 | + | |
0 commit comments