Stop running tests twice on pull request branches #12

Merged
tim merged 1 commit from fix/ci-duplicate-runs into develop 2026-10-25 16:36:38 +00:00
Owner

docker.yml triggered on push to every non-main branch and on pull_request, so each PR branch ran the test job twice (once per event) and the push run also built and pushed a branch-named image (hence tags like chore-ruff-rule-set in the registry).

Now the push trigger only lists develop (plus v* tags). Feature branches are tested by the pull_request run; develop keeps its test + build on push. CLAUDE.md trigger summary updated.

Existing branch-named tags in the registry are not cleaned up by this.

🤖 Generated with Claude Code

https://claude.ai/code/session_0137rmvr4GcRbtoEvABScjsT

docker.yml triggered on push to every non-main branch and on pull_request, so each PR branch ran the test job twice (once per event) and the push run also built and pushed a branch-named image (hence tags like `chore-ruff-rule-set` in the registry). Now the push trigger only lists `develop` (plus `v*` tags). Feature branches are tested by the pull_request run; `develop` keeps its test + build on push. CLAUDE.md trigger summary updated. Existing branch-named tags in the registry are not cleaned up by this. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_0137rmvr4GcRbtoEvABScjsT
Stop running tests twice on pull request branches
All checks were successful
Test & Build / Lint and test (pull_request) Successful in 27s
Test & Build / Build & Push Docker Image (pull_request) Has been skipped
Test & Build / Create Forgejo Release (pull_request) Has been skipped
Security / Security scan (pull_request) Successful in 47s
fd6e258c1d
The push trigger covered every non-main branch while pull_request was
also enabled, so each PR branch ran the test job twice and pushed a
branch-named image. Limit the push trigger to develop; the pull_request
trigger covers feature branches.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0137rmvr4GcRbtoEvABScjsT
tim merged commit 48ac8411c4 into develop 2026-10-25 16:36:38 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
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
tim/hass-mcp!12
No description provided.