Skip to content

ci: exempt the rust-cache action from the copyleft gate - #30

Merged
plusky merged 1 commit into
mainfrom
chore/allow-rust-cache-license
Aug 24, 2026
Merged

plusky merged 1 commit into
mainfrom
chore/allow-rust-cache-license

Conversation

@plusky

@plusky plusky commented Aug 24, 2026

Copy link
Copy Markdown
Owner

Swatinem/rust-cache is licensed LGPL-3.0, which dependency-review.yml's deny-list rejects — so #29, and every future rust-cache pin bump, is blocked.

Worth noting: the currently pinned SHA is LGPL-3.0 as well. The action only surfaces on a pin change because dependency-review inspects changed dependencies only, so holding the old pin defers the problem rather than avoiding it.

The deny-list mirrors deny.toml, which governs crates linked into the distributed Apache-2.0 binaries. A GitHub Action only runs on the CI runner and is never shipped, so its copyleft licence cannot reach the product.

This adds a scoped exemption for that single action (pkg:githubactions/Swatinem/rust-cache) rather than relaxing the rule for the actions ecosystem or weakening the crate policy. All 15 denied licences remain in force for everything else, and deny.toml is untouched.

Unblocks #29.

Swatinem/rust-cache is LGPL-3.0, which dependency-review denies. CI
actions run on the runner and are never distributed with the
Apache-2.0 binaries, so copyleft there cannot reach the product; the
crate policy in deny-licenses and deny.toml is unchanged. Scoped to
this one action rather than relaxing the ecosystem.
@plusky plusky added github_actions Pull requests that update GitHub Actions code ai-assisted Found or drafted with AI assistance; claims verified against source, review independently labels Aug 24, 2026
@plusky
plusky enabled auto-merge (rebase) August 24, 2026 16:18
@plusky
plusky merged commit 0836b2a into main Aug 24, 2026
11 checks passed
@plusky
plusky deleted the chore/allow-rust-cache-license branch August 24, 2026 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ai-assisted Found or drafted with AI assistance; claims verified against source, review independently github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant