Skip to content

Declare curl and jq as deb package runtime dependencies#43

Merged
lex57ukr merged 2 commits intomainfrom
38-add-deb-runtime-dependencies
Feb 15, 2026
Merged

Declare curl and jq as deb package runtime dependencies#43
lex57ukr merged 2 commits intomainfrom
38-add-deb-runtime-dependencies

Conversation

@lex57ukr
Copy link
Contributor

Summary

validate-action-pins requires curl and jq at runtime but the deb package didn't declare them as dependencies. Without a depends declaration in nfpm.yaml, apt-get install ci-tools won't pull them in automatically. The script degrades gracefully (warns and exits 0) but won't do anything useful without them.

Related Issues

Refs #38

Changes

  • Add depends: [curl, jq] to nfpm.yaml so apt resolves them automatically
  • Remove explicit curl jq install from verify-deb-install.sh since they now come in as declared dependencies

Further Comments

Verified locally with make test-package — both debian:bookworm-slim and ubuntu:24.04 pass all checks with the dependencies pulled in via apt automatically.

lex57ukr and others added 2 commits February 15, 2026 13:39
validate-action-pins requires curl and jq at runtime. Without a
depends declaration, apt won't pull them in automatically.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
These are now declared as deb dependencies in nfpm.yaml, so
apt pulls them in automatically when installing the package.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@lex57ukr lex57ukr added enhancement New feature or request security Security-related change labels Feb 15, 2026
@lex57ukr lex57ukr enabled auto-merge (squash) February 15, 2026 20:44
@lex57ukr lex57ukr merged commit b678408 into main Feb 15, 2026
7 checks passed
@lex57ukr lex57ukr deleted the 38-add-deb-runtime-dependencies branch February 15, 2026 20:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request security Security-related change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant