fix: tighten the crates lock check, drop the key from child environments
crates-lock-check.sh anchors on `[/:]daniel/gitdan-crates(.git)?/?` and matches case-insensitively, so a trailing-slash or differently-cased second commit is counted and a look-alike owner (notdaniel/) is not. crates-access.sh unsets DEPLOY_KEY once the key file is written, so git, ssh and timeout no longer inherit it. README says three actions, not two. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01MfBCVNDv3y5gm2djeZSAk4
This commit is contained in:
@@ -2,7 +2,9 @@
|
||||
|
||||
Shared Gitea Actions composite actions for the gitdan forge.
|
||||
|
||||
Two actions. The first, done properly: **`cargo-cache`** — a persistent,
|
||||
Three actions: `cargo-cache`, `cargo-cache-publish` and `gitdan-crates-access`
|
||||
(read access to the private crates repo, [below](#gitdan-crates-access)). The
|
||||
cache, done properly: **`cargo-cache`** — a persistent,
|
||||
per-branch Cargo build cache for self-hosted Gitea runners, where a pull
|
||||
request's cache is a near-free hardlink clone of an immutable snapshot its
|
||||
base branch published.
|
||||
|
||||
Reference in New Issue
Block a user