@theholocron/holocron-plugin-github 2.0.0-alpha.23 → 2.0.0-alpha.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +1 -0
- package/dist/index.mjs +6 -0
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -46,6 +46,7 @@ declare class GitHubSource implements Source {
|
|
|
46
46
|
enableAutomatedSecurityFixes(): Promise<void>;
|
|
47
47
|
enableSecretScanning(): Promise<void>;
|
|
48
48
|
enableCodeScanning(): Promise<string>;
|
|
49
|
+
disableDefaultCodeScanning(): Promise<void>;
|
|
49
50
|
enableDependencyGraph(): Promise<void>;
|
|
50
51
|
enablePrivateVulnerabilityReporting(): Promise<void>;
|
|
51
52
|
listWorkflowFiles(): Promise<string[]>;
|
package/dist/index.mjs
CHANGED
|
@@ -536,6 +536,12 @@ var GitHubSource = class {
|
|
|
536
536
|
}
|
|
537
537
|
})).run_id}`;
|
|
538
538
|
}
|
|
539
|
+
async disableDefaultCodeScanning() {
|
|
540
|
+
await this.rest.request(`${this.repoPath}/code-scanning/default-setup`, {
|
|
541
|
+
method: "PATCH",
|
|
542
|
+
body: { state: "not-configured" }
|
|
543
|
+
});
|
|
544
|
+
}
|
|
539
545
|
async enableDependencyGraph() {
|
|
540
546
|
await this.rest.request(this.repoPath, {
|
|
541
547
|
method: "PATCH",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theholocron/holocron-plugin-github",
|
|
3
|
-
"version": "2.0.0-alpha.
|
|
3
|
+
"version": "2.0.0-alpha.25",
|
|
4
4
|
"description": "Holocron plugin for GitHub. Implements source, ci, secrets, environments, and issues capabilities against the GitHub REST API.",
|
|
5
5
|
"homepage": "https://github.com/theholocron/holocron/tree/main/packages/holocron-plugin-github#readme",
|
|
6
6
|
"bugs": "https://github.com/theholocron/holocron/issues",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
}
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
|
24
|
-
"@theholocron/cli": "2.0.0-alpha.
|
|
24
|
+
"@theholocron/cli": "2.0.0-alpha.25"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"libsodium-wrappers": "^0.7.15"
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"tsx": "^4.22.4",
|
|
42
42
|
"typescript": "^5.9.3",
|
|
43
43
|
"vitest": "^4.1.10",
|
|
44
|
-
"@theholocron/cli": "2.0.0-alpha.
|
|
44
|
+
"@theholocron/cli": "2.0.0-alpha.25"
|
|
45
45
|
},
|
|
46
46
|
"publishConfig": {
|
|
47
47
|
"access": "public"
|