test: authorize ref bypass PoC

#2
by XciD HF Staff - opened
Files changed (1) hide show
  1. codex-ref-bypass-pr-marker.toml +65 -0
codex-ref-bypass-pr-marker.toml ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [package]
2
+ name = "hooks"
3
+ version = "0.1.0"
4
+ edition = "2021"
5
+
6
+ [[bin]]
7
+ name = "pre-receive-001-check-allowed-refs"
8
+ path = "src/pre-receive/check-allowed-refs/main.rs"
9
+
10
+ [[bin]]
11
+ name = "pre-receive-002-check-lfs"
12
+ path = "src/pre-receive/check-lfs/main.rs"
13
+
14
+ [[bin]]
15
+ name = "pre-receive-003-check-binary"
16
+ path = "src/pre-receive/check-binary/main.rs"
17
+
18
+ [[bin]]
19
+ name = "pre-receive-004-check-file-count"
20
+ path = "src/pre-receive/check-file-count/main.rs"
21
+
22
+ [[bin]]
23
+ name = "pre-receive-005-check-lfs-upload"
24
+ path = "src/pre-receive/check-lfs-upload/main.rs"
25
+
26
+ [[bin]]
27
+ name = "pre-receive-010-check-yaml"
28
+ path = "src/pre-receive/check-yaml/main.rs"
29
+
30
+ [[bin]]
31
+ name = "pre-receive-011-check-hf-token"
32
+ path = "src/pre-receive/check-hf-token/main.rs"
33
+
34
+ [[bin]]
35
+ name = "post-receive-01-updated-refs"
36
+ path = "src/post-receive/updated-refs/main.rs"
37
+
38
+ [[bin]]
39
+ name = "utils-git-hf-diff"
40
+ path = "src/utils/git-hf-diff/main.rs"
41
+
42
+ [dependencies]
43
+ anyhow = { version = "1", features = ["backtrace"] }
44
+ colored = "2"
45
+ git2 = { version = "0.20", default-features = false }
46
+ human_bytes = "0.4"
47
+ itertools = "0.12"
48
+ lazy_static = "1"
49
+ rayon = "1"
50
+ regex = "1"
51
+ serde = { version = "1", features = ["derive"], default-features = false }
52
+ serde_json = { version = "1", default-features = false }
53
+ structopt = "0.3"
54
+ tracing = "0.1"
55
+ tracing-subscriber = "0.3"
56
+ ureq = { version = "2", features = ["json"] }
57
+
58
+ [dev-dependencies]
59
+ httpmock = "0.7"
60
+ once_cell = "1"
61
+ tempfile = "3"
62
+
63
+ [profile.release]
64
+ debug = 1
65
+ lto = true