test(ci): expect push-only workflow trigger #7

Merged
jmz merged 2 commits from ci/fix-2026-10-12 into main 2026-11-01 14:45:30 +00:00
Member

271297e made the workflow push-only on purpose, but tests/test_ci_workflow.py::test_workflow_triggers_on_push_and_pr still asserted pull_request in the workflow, so the check job failed (1 failed, 366 passed). Not environmental: the registry install and the rest of the suite are fine.

The test now asserts the opposite (no pull_request trigger outside comments, push: present).

Refs jmz/nixos-hosts#238

🤖 Generated with Claude Code

https://claude.ai/code/session_01JPMfW8M8fH1ichGauN6DhV

`271297e` made the workflow push-only on purpose, but `tests/test_ci_workflow.py::test_workflow_triggers_on_push_and_pr` still asserted `pull_request` in the workflow, so the check job failed (1 failed, 366 passed). Not environmental: the registry install and the rest of the suite are fine. The test now asserts the opposite (no `pull_request` trigger outside comments, `push:` present). Refs jmz/nixos-hosts#238 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01JPMfW8M8fH1ichGauN6DhV
test(ci): expect the workflow to trigger on push only
Some checks failed
check / check (push) Failing after 1m31s
27f006cf67
The workflow was deliberately changed to push-only (pull requests from forks
must not reach the self-hosted runner) but test_ci_workflow still asserted a
pull_request trigger, failing the check job.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01JPMfW8M8fH1ichGauN6DhV
test(ci): rename ambiguous loop variable flagged by ruff E741
All checks were successful
check / check (push) Successful in 1m22s
970af6ccc5
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01JPMfW8M8fH1ichGauN6DhV
jmz merged commit 970af6ccc5 into main 2026-11-01 14:45:30 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
public/kal!7
No description provided.