diff --git a/.github/review-smoke-test.md b/.github/review-smoke-test.md new file mode 100644 index 00000000000..f07e401b1c4 --- /dev/null +++ b/.github/review-smoke-test.md @@ -0,0 +1,4 @@ +# Temporary PR review smoke test + +This test-only change verifies automatic CLI PR reviews and a subsequent +`/review` request. Close the PR after verification; do not merge this file. diff --git a/.github/scripts/review_smoke_fixture.py b/.github/scripts/review_smoke_fixture.py new file mode 100644 index 00000000000..0f8255c17cd --- /dev/null +++ b/.github/scripts/review_smoke_fixture.py @@ -0,0 +1,11 @@ +#!/usr/bin/env python3 + + +def average(values: list[int]) -> float: + """Return the arithmetic mean, or 0.0 when values is empty.""" + return sum(values) / len(values) + + +def is_even(value: int) -> bool: + """Return True when value is an even integer.""" + return value % 2 == 1