Skip to content

verify-action-build: skip lock-file check for empty package.json#816

Merged
potiuk merged 1 commit intoapache:mainfrom
potiuk:verify-action-build-skip-empty-package-json-lock
May 6, 2026
Merged

verify-action-build: skip lock-file check for empty package.json#816
potiuk merged 1 commit intoapache:mainfrom
potiuk:verify-action-build-skip-empty-package-json-lock

Conversation

@potiuk
Copy link
Copy Markdown
Member

@potiuk potiuk commented May 6, 2026

Summary

Test plan

  • uv run pytest utils/tests/ — 221/221.
  • prek run --all-files clean.
  • verify-action-build --from-pr 813 returns exit 0 with the fix; Lock file presence: ✓.

Generated-by Claude Code.

The check already skips bare-config pyproject.toml and require-less
go.mod.  Mirror that for package.json with no dependencies — the case
that release-please-style bundled action tags ship (a self-contained
index.js next to a minimal {"type": "module"}).  browser-actions/
setup-firefox v1.7.2 (PR apache#813) hits this; v1.7.0 / v1.7.1 were
approved before the lock-file check landed.
Copy link
Copy Markdown
Member

@dave2wave dave2wave left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@potiuk potiuk merged commit 251a748 into apache:main May 6, 2026
8 checks passed
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.

2 participants