Skip to content

Commit

Permalink
chore: Refine git source permissions (#72)
Browse files Browse the repository at this point in the history
- Update the `unknown-git` setting to enforce strict rules
- Add "lurk-lab" as a new allowed organization on Github
- disable the gitlab and bitbucket organization permissions
  • Loading branch information
huitseeker authored Jan 3, 2024
1 parent 964a18b commit a84d271
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions deny.toml
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ skip-tree = [
unknown-registry = "warn"
# Lint level for what to happen when a crate from a git repository that is not
# in the allow list is encountered
unknown-git = "warn"
unknown-git = "deny"
# List of URLs for allowed crate registries. Defaults to the crates.io index
# if not specified. If it is specified but empty, no registries are allowed.
allow-registry = ["https://github.com/rust-lang/crates.io-index"]
Expand All @@ -265,8 +265,8 @@ allow-git = []

[sources.allow-org]
# 1 or more github.com organizations to allow git sources for
github = [""]
github = ["lurk-lab"]
# 1 or more gitlab.com organizations to allow git sources for
gitlab = [""]
# gitlab = [""]
# 1 or more bitbucket.org organizations to allow git sources for
bitbucket = [""]
# bitbucket = [""]

0 comments on commit a84d271

Please sign in to comment.