Sign in

Search issue titles and bodies, change requests and comments. Private repositories you cannot read are not included.

vole
Site
Clone

Read only, no credentials:

https://rodent.software/vole.git

Write over SSH with a registered key:

git clone ssh://git@rodent.software/vole.git

Self-hosted forge that lives in your Git repo.

Replace the runner allowlist with a runner role

648cd81bde97042f682a528ebb9ce6353b95bf3f · Keenan Nemetz · 1d ago · parent ea92d754

metadata/releases.go +5

@@ -41,6 +41,11 @@ type Artifact struct {
41 41 // Path is where an artifact's pointer lives on the metadata branch.
42 42 func ReleasePath(tag, path string) string { return ReleasesDir + "/" + tag + "/" + path }
43 43
44 // IsReleasePath reports whether a metadata path lives under the release subtree.
45 // The hook uses it to distinguish an artifact pointer a runner may write from the
46 // rest of the issues branch.
47 func IsReleasePath(path string) bool { return strings.HasPrefix(path, ReleasesDir+"/") }
48
44 49 // ValidArtifactPath checks an artifact path under releases/<tag>/. The rule is
45 50 // shared with run outputs and with the download routes, so a path one layer
46 51 // writes is a path the next layer can name.