Commit 9d676ed
authored
ci(dependabot): add dependency scanning for ogx-api package (#5947)
# What does this PR do?
The `ogx-api` package (`src/ogx_api/`) has its own `pyproject.toml` and
`uv.lock` but was not covered by Dependabot. This adds scanning for it
and updates the constraint-update workflows to handle both packages.
Changes:
- Add a new `uv` ecosystem entry in `dependabot.yml` for `/src/ogx_api`
with `chore(api-deps)` prefix
- Update `dependabot-constraints.yml` to run the constraint update
script against both `pyproject.toml` files, regenerate both lock files,
and include the API package files in the artifact
- Update `commit-constraint-updates.yml` to copy, stage, and commit the
API package's `pyproject.toml` and `uv.lock` alongside the root files
## Test Plan
1. Verify the three modified workflow files parse correctly (pre-commit
`check yaml` and `Lint GitHub Actions workflow files` both pass)
2. On the next Dependabot PR for a shared dependency (e.g. `pydantic`,
`openai`), confirm the constraint-dependencies workflow updates both
`pyproject.toml` files and regenerates both `uv.lock` files
<!-- devin-review-badge-begin -->
---
<a href="https://app.devin.ai/review/ogx-ai/ogx/pull/5947"
target="_blank">
<picture>
<source media="(prefers-color-scheme: dark)"
srcset="https://static.devin.ai/assets/gh-open-in-devin-review-dark.svg?v=1">
<img
src="https://static.devin.ai/assets/gh-open-in-devin-review-light.svg?v=1"
alt="Open in Devin Review">
</picture>
</a>
<!-- devin-review-badge-end -->
---------
Signed-off-by: Sébastien Han <seb@redhat.com>1 parent bb63ea6 commit 9d676ed
3 files changed
Lines changed: 83 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
24 | 35 | | |
25 | 36 | | |
26 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
217 | 217 | | |
218 | 218 | | |
219 | 219 | | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
220 | 228 | | |
221 | 229 | | |
222 | 230 | | |
| |||
233 | 241 | | |
234 | 242 | | |
235 | 243 | | |
236 | | - | |
| 244 | + | |
237 | 245 | | |
238 | 246 | | |
239 | 247 | | |
240 | 248 | | |
241 | 249 | | |
242 | | - | |
| 250 | + | |
243 | 251 | | |
244 | 252 | | |
245 | 253 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
68 | 69 | | |
69 | 70 | | |
70 | 71 | | |
71 | | - | |
| 72 | + | |
72 | 73 | | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
73 | 96 | | |
74 | 97 | | |
75 | 98 | | |
76 | 99 | | |
| 100 | + | |
77 | 101 | | |
78 | | - | |
79 | | - | |
80 | | - | |
| 102 | + | |
81 | 103 | | |
82 | | - | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
83 | 110 | | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
89 | 119 | | |
90 | | - | |
| 120 | + | |
91 | 121 | | |
92 | | - | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
93 | 133 | | |
94 | 134 | | |
95 | 135 | | |
| |||
132 | 172 | | |
133 | 173 | | |
134 | 174 | | |
| 175 | + | |
135 | 176 | | |
136 | 177 | | |
137 | 178 | | |
| |||
143 | 184 | | |
144 | 185 | | |
145 | 186 | | |
146 | | - | |
147 | | - | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
148 | 196 | | |
149 | 197 | | |
150 | 198 | | |
| |||
0 commit comments