@@ -26,6 +26,7 @@ func TestAPIMeta_Marshal(t *testing.T) {
26
26
Importer : []string {"i" },
27
27
GithubEnterpriseImporter : []string {"gei" },
28
28
Actions : []string {"a" },
29
+ ActionsMacos : []string {"192.0.2.1/32" , "198.51.100.0/24" },
29
30
Dependabot : []string {"d" },
30
31
SSHKeyFingerprints : map [string ]string {"a" : "f" },
31
32
SSHKeys : []string {"k" },
@@ -58,6 +59,7 @@ func TestAPIMeta_Marshal(t *testing.T) {
58
59
"importer":["i"],
59
60
"github_enterprise_importer":["gei"],
60
61
"actions":["a"],
62
+ "actions_macos":["192.0.2.1/32", "198.51.100.0/24"],
61
63
"dependabot":["d"],
62
64
"ssh_key_fingerprints":{"a":"f"},
63
65
"ssh_keys":["k"],
@@ -75,7 +77,7 @@ func TestMetaService_Get(t *testing.T) {
75
77
76
78
mux .HandleFunc ("/meta" , func (w http.ResponseWriter , r * http.Request ) {
77
79
testMethod (t , r , "GET" )
78
- fmt .Fprint (w , `{"web":["w"],"api":["a"],"hooks":["h"], "git":["g"], "pages":["p"], "importer":["i"], "github_enterprise_importer": ["gei"], "actions":["a"], "dependabot":["d"], "verifiable_password_authentication": true, "domains":{"website":["*.github.com","*.github.dev","*.github.io","*.githubassets.com","*.githubusercontent.com"],"artifact_attestations":{"trust_domain":"","services":["*.actions.githubusercontent.com","tuf-repo.github.com","fulcio.githubapp.com","timestamp.githubapp.com"]}}}` )
80
+ fmt .Fprint (w , `{"web":["w"],"api":["a"],"hooks":["h"], "git":["g"], "pages":["p"], "importer":["i"], "github_enterprise_importer": ["gei"], "actions":["a"], "actions_macos": ["192.0.2.1/32", "198.51.100.0/24"], " dependabot":["d"], "verifiable_password_authentication": true, "domains":{"website":["*.github.com","*.github.dev","*.github.io","*.githubassets.com","*.githubusercontent.com"],"artifact_attestations":{"trust_domain":"","services":["*.actions.githubusercontent.com","tuf-repo.github.com","fulcio.githubapp.com","timestamp.githubapp.com"]}}}` )
79
81
})
80
82
81
83
ctx := context .Background ()
@@ -91,6 +93,7 @@ func TestMetaService_Get(t *testing.T) {
91
93
Importer : []string {"i" },
92
94
GithubEnterpriseImporter : []string {"gei" },
93
95
Actions : []string {"a" },
96
+ ActionsMacos : []string {"192.0.2.1/32" , "198.51.100.0/24" },
94
97
Dependabot : []string {"d" },
95
98
API : []string {"a" },
96
99
Web : []string {"w" },
0 commit comments