You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(lighthouse-ci): drop PR-commenting logic from report script
Rename post-comment.mjs to report.mjs and remove all PR-commenting code paths
(octokit, listComments + find-and-update, GITHUB_TOKEN handling, fork-403
fallback, IS_PR / PR_NUMBER env vars). The Lighthouse workflow no longer runs
on pull_request triggers (see the previous commit), so this code was dead.
The script now does one thing: read .lighthouseci/ artifacts, build the
markdown report, and write it to $GITHUB_STEP_SUMMARY via core.summary. That
panel renders at the top of the workflow run page and is the workflow's only
public output.
Also drop the @actions/github dependency from
dev-packages/lighthouse-tests/package.json — it was only used by the deleted
octokit calls. yarn.lock retains an orphaned "@actions/github@^5.0.0" entry
that the existing 9.x usage in other gh-action packages doesn't touch; left
for natural cleanup on the next clean install.
0 commit comments