Commit 3f3b258
authored
fix(ci): re-pin julia-downgrade-compat to v1, and tell Dependabot to leave it (#53)
#47 pinned this action back to v1 after v2 turned main red. Dependabot
re-applied the very same bump in #50 hours later, and main is red again
for exactly the reason #47 diagnosed:
#47 72a153c pin back to v1 -> downgrade job success
#50 745493e bump v1 -> v2.6.2 -> downgrade job failing again
The bot was doing its job. The mistake was mine: #47 recorded "PINNED TO
v1 ON PURPOSE" as a comment in the workflow, and a comment is not
binding on a bot that cannot read it. The mechanism that is binding is an
`ignore` rule, which this adds:
ignore:
- dependency-name: julia-actions/julia-downgrade-compat
update-types: [version-update:semver-major]
Major bumps of that one action are now ignored; patch and minor updates
within v1 still come through, and every other action is untouched.
Note that #50 left the configuration worse than the v2 attempt in
463ade2 did. That commit at least paired `@v2` with `mode: deps`, which
narrows what gets promoted. Dependabot bumped the version and left the
v1-shaped config, so the action ran in its default `alldeps` mode —
promoting weakdeps and test extras into `[deps]` with nothing holding
them back.
The workflow comment now points at the `ignore` rule, so the next person
to read it knows where the binding statement lives.1 parent ba7e37f commit 3f3b258
2 files changed
Lines changed: 21 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
70 | 75 | | |
71 | 76 | | |
72 | 77 | | |
73 | 78 | | |
74 | 79 | | |
75 | 80 | | |
76 | 81 | | |
77 | | - | |
| 82 | + | |
78 | 83 | | |
79 | 84 | | |
80 | 85 | | |
| |||
0 commit comments