Skip to content

docs: LHCI gotcha — deployment_status runs from the default branch - #23

Merged
perandre merged 1 commit into
mainfrom
docs/lhci-deployment-status-default-branch-gotcha
Jun 1, 2026
Merged

docs: LHCI gotcha — deployment_status runs from the default branch#23
perandre merged 1 commit into
mainfrom
docs/lhci-deployment-status-default-branch-gotcha

Conversation

@perandre

Copy link
Copy Markdown
Collaborator

Follow-up to #4 (review finding). Adds gotcha #6 to the Lighthouse CI guide.

deployment_status-triggered workflows always run from the default-branch copy of the workflow file. So the LHCI workflow does not run on the PR that introduces it — only once lighthouseci.yml lands on main/develop. This is documented GitHub behavior and surprises nearly every first-time setup ("I added it but nothing ran").

The new row tells users to expect no LHCI run on the introducing PR and that it's expected, not a misconfiguration.

No NIGHT_SHIFT_VERSION bump: docs-only change to a human-facing copy-paste reference. The version bump triggers a re-read of SKILL.md (which doesn't include this doc), so it carries no refresh signal here — consistent with #4, which also didn't bump when it created this file.

🤖 Generated with Claude Code

Add gotcha #6: workflows triggered by deployment_status always use the
default-branch copy of the workflow file, so the LHCI workflow does not
run on the PR that introduces it — only after it lands on main/develop.
This trips up nearly every first-time setup.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@perandre
perandre merged commit 6274d32 into main Jun 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant