Skip to content

Commit 168a02f

Browse files
committed
fix(test): match watchkeeper action path to the rac-core repo rename [roadmap:v0.22.2]
The reusable watchkeeper workflow references the action as itsthelore/rac-core@main since the v0.22.2 repository rename, but the reusable-workflow test still matched the old requirements-as-code path in `uses:` and raised StopIteration. Match on rac-core. The frozen PyPI package name (pip install, SBOM, version description) is unchanged. Signed-off-by: Tom Ballard <tom@armytage.co>
1 parent 352fd03 commit 168a02f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_watchkeeper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ def test_reusable_workflow_passes_inputs_through():
251251
call_inputs = workflow[True]["workflow_call"]["inputs"]
252252
assert set(call_inputs) == {"path", "base", "fail-on", "annotate", "rac-version"}
253253
job = workflow["jobs"]["watchkeeper"]
254-
action_step = next(s for s in job["steps"] if "requirements-as-code" in s.get("uses", ""))
254+
action_step = next(s for s in job["steps"] if "rac-core" in s.get("uses", ""))
255255
assert set(action_step["with"]) == set(call_inputs)
256256
checkout = next(s for s in job["steps"] if "checkout" in s.get("uses", ""))
257257
assert checkout["with"]["fetch-depth"] == 0

0 commit comments

Comments
 (0)