Commit 88c17ff
authored
fix(ci): use globs in update-lockfiles workflow for missing konflux lockfile (#522)
## Summary
- The `update-lockfiles` workflow fails with `fatal: pathspec 'distribution/requirements-lock-konflux.txt' did not match any files` because the file was removed from this repo (moved to the downstream fork)
- Switches `git diff`, `git add`, and the PR body file list to use `distribution/requirements-lock*.txt` globs so the workflow handles whichever lockfiles exist
- The workflow now works in both this repo (only `requirements-lock.txt`) and the downstream fork (both lockfiles)
## Test plan
- [ ] Trigger the `update-lockfiles` workflow manually via `workflow_dispatch` and verify it completes without the pathspec error
- [ ] Verify the generated PR body lists the correct lockfile(s)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
## Summary by CodeRabbit
* **Chores**
* Automated lockfile updates now detect and stage all matching distribution lockfiles.
* Pull requests created by the workflow now list the specific lockfiles that changed.
Approved-by: derekhiggins
Approved-by: Artemon-line1 file changed
Lines changed: 5 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| 79 | + | |
| 80 | + | |
79 | 81 | | |
80 | 82 | | |
81 | 83 | | |
| |||
86 | 88 | | |
87 | 89 | | |
88 | 90 | | |
89 | | - | |
90 | | - | |
| 91 | + | |
91 | 92 | | |
92 | 93 | | |
93 | 94 | | |
| |||
0 commit comments