@pulumi/github 6.12.0-alpha.1770156575 → 6.12.0
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/actionsEnvironmentSecret.d.ts +45 -5
- package/actionsEnvironmentSecret.js +15 -3
- package/actionsEnvironmentSecret.js.map +1 -1
- package/actionsEnvironmentVariable.d.ts +29 -18
- package/actionsEnvironmentVariable.js +16 -11
- package/actionsEnvironmentVariable.js.map +1 -1
- package/actionsOrganizationPermissions.d.ts +12 -0
- package/actionsOrganizationPermissions.js +2 -0
- package/actionsOrganizationPermissions.js.map +1 -1
- package/actionsOrganizationSecret.d.ts +67 -25
- package/actionsOrganizationSecret.js +8 -6
- package/actionsOrganizationSecret.js.map +1 -1
- package/actionsOrganizationSecretRepositories.d.ts +22 -14
- package/actionsOrganizationSecretRepositories.js +16 -8
- package/actionsOrganizationSecretRepositories.js.map +1 -1
- package/actionsOrganizationSecretRepository.d.ts +22 -14
- package/actionsOrganizationSecretRepository.js +16 -8
- package/actionsOrganizationSecretRepository.js.map +1 -1
- package/actionsOrganizationVariable.d.ts +20 -21
- package/actionsOrganizationVariable.js +4 -2
- package/actionsOrganizationVariable.js.map +1 -1
- package/actionsOrganizationVariableRepositories.d.ts +97 -0
- package/actionsOrganizationVariableRepositories.js +94 -0
- package/actionsOrganizationVariableRepositories.js.map +1 -0
- package/actionsOrganizationVariableRepository.d.ts +97 -0
- package/actionsOrganizationVariableRepository.js +94 -0
- package/actionsOrganizationVariableRepository.js.map +1 -0
- package/actionsRepositoryPermissions.d.ts +12 -0
- package/actionsRepositoryPermissions.js +2 -0
- package/actionsRepositoryPermissions.js.map +1 -1
- package/actionsSecret.d.ts +66 -19
- package/actionsSecret.js +10 -6
- package/actionsSecret.js.map +1 -1
- package/actionsVariable.d.ts +25 -15
- package/actionsVariable.js +6 -2
- package/actionsVariable.js.map +1 -1
- package/appInstallationRepositories.d.ts +3 -3
- package/appInstallationRepositories.js +3 -3
- package/appInstallationRepository.d.ts +3 -3
- package/appInstallationRepository.js +3 -3
- package/dependabotOrganizationSecret.d.ts +46 -27
- package/dependabotOrganizationSecret.js +8 -8
- package/dependabotOrganizationSecret.js.map +1 -1
- package/dependabotOrganizationSecretRepositories.d.ts +21 -18
- package/dependabotOrganizationSecretRepositories.js +15 -12
- package/dependabotOrganizationSecretRepositories.js.map +1 -1
- package/dependabotOrganizationSecretRepository.d.ts +97 -0
- package/dependabotOrganizationSecretRepository.js +94 -0
- package/dependabotOrganizationSecretRepository.js.map +1 -0
- package/dependabotSecret.d.ts +51 -19
- package/dependabotSecret.js +10 -6
- package/dependabotSecret.js.map +1 -1
- package/emuGroupMapping.d.ts +20 -2
- package/emuGroupMapping.js +8 -2
- package/emuGroupMapping.js.map +1 -1
- package/getReleaseAsset.d.ts +212 -0
- package/getReleaseAsset.js +142 -0
- package/getReleaseAsset.js.map +1 -0
- package/index.d.ts +12 -0
- package/index.js +23 -5
- package/index.js.map +1 -1
- package/organizationRuleset.d.ts +4 -7
- package/organizationRuleset.js +1 -4
- package/organizationRuleset.js.map +1 -1
- package/package.json +2 -2
- package/repository.d.ts +16 -12
- package/repository.js +1 -3
- package/repository.js.map +1 -1
- package/repositoryRuleset.d.ts +3 -3
- package/types/input.d.ts +67 -5
- package/types/output.d.ts +69 -7
package/types/output.d.ts
CHANGED
|
@@ -1150,7 +1150,7 @@ export interface IssueLabelsLabel {
|
|
|
1150
1150
|
}
|
|
1151
1151
|
export interface OrganizationRulesetBypassActor {
|
|
1152
1152
|
/**
|
|
1153
|
-
* (Number) The ID of the actor that can bypass a ruleset.
|
|
1153
|
+
* (Number) The ID of the actor that can bypass a ruleset. Some actor types such as `DeployKey` do not have an ID.
|
|
1154
1154
|
*/
|
|
1155
1155
|
actorId?: number;
|
|
1156
1156
|
/**
|
|
@@ -1169,9 +1169,9 @@ export interface OrganizationRulesetBypassActor {
|
|
|
1169
1169
|
}
|
|
1170
1170
|
export interface OrganizationRulesetConditions {
|
|
1171
1171
|
/**
|
|
1172
|
-
* (Block List,
|
|
1172
|
+
* (Block List, Max: 1) Required for `branch` and `tag` targets. Must NOT be set for `push` targets. (see below for nested schema)
|
|
1173
1173
|
*/
|
|
1174
|
-
refName
|
|
1174
|
+
refName?: outputs.OrganizationRulesetConditionsRefName;
|
|
1175
1175
|
/**
|
|
1176
1176
|
* The repository IDs that the ruleset applies to. One of these IDs must match for the condition to pass. Conflicts with `repositoryName`.
|
|
1177
1177
|
*/
|
|
@@ -1180,6 +1180,8 @@ export interface OrganizationRulesetConditions {
|
|
|
1180
1180
|
* Conflicts with `repositoryId`. (see below for nested schema)
|
|
1181
1181
|
*
|
|
1182
1182
|
* One of `repositoryId` and `repositoryName` must be set for the rule to target any repositories.
|
|
1183
|
+
*
|
|
1184
|
+
* > **Note:** For `push` targets, do not include `refName` in conditions. Push rulesets operate on file content, not on refs.
|
|
1183
1185
|
*/
|
|
1184
1186
|
repositoryName?: outputs.OrganizationRulesetConditionsRepositoryName;
|
|
1185
1187
|
}
|
|
@@ -1399,7 +1401,7 @@ export interface OrganizationRulesetRulesPullRequest {
|
|
|
1399
1401
|
/**
|
|
1400
1402
|
* Array of allowed merge methods. Allowed values include `merge`, `squash`, and `rebase`. At least one option must be enabled.
|
|
1401
1403
|
*/
|
|
1402
|
-
allowedMergeMethods
|
|
1404
|
+
allowedMergeMethods: string[];
|
|
1403
1405
|
/**
|
|
1404
1406
|
* New, reviewable commits pushed will dismiss previous pull request review approvals. Defaults to `false`.
|
|
1405
1407
|
*/
|
|
@@ -1420,6 +1422,34 @@ export interface OrganizationRulesetRulesPullRequest {
|
|
|
1420
1422
|
* All conversations on code must be resolved before a pull request can be merged. Defaults to `false`.
|
|
1421
1423
|
*/
|
|
1422
1424
|
requiredReviewThreadResolution?: boolean;
|
|
1425
|
+
/**
|
|
1426
|
+
* Require specific reviewers to approve pull requests targeting matching branches. Note: This feature is in beta and subject to change.
|
|
1427
|
+
*/
|
|
1428
|
+
requiredReviewers?: outputs.OrganizationRulesetRulesPullRequestRequiredReviewer[];
|
|
1429
|
+
}
|
|
1430
|
+
export interface OrganizationRulesetRulesPullRequestRequiredReviewer {
|
|
1431
|
+
/**
|
|
1432
|
+
* File patterns (fnmatch syntax) that this reviewer must approve.
|
|
1433
|
+
*/
|
|
1434
|
+
filePatterns: string[];
|
|
1435
|
+
/**
|
|
1436
|
+
* Minimum number of approvals required from this reviewer. Set to 0 to make approval optional.
|
|
1437
|
+
*/
|
|
1438
|
+
minimumApprovals: number;
|
|
1439
|
+
/**
|
|
1440
|
+
* The reviewer that must review matching files.
|
|
1441
|
+
*/
|
|
1442
|
+
reviewer: outputs.OrganizationRulesetRulesPullRequestRequiredReviewerReviewer;
|
|
1443
|
+
}
|
|
1444
|
+
export interface OrganizationRulesetRulesPullRequestRequiredReviewerReviewer {
|
|
1445
|
+
/**
|
|
1446
|
+
* The ID of the reviewer that must review.
|
|
1447
|
+
*/
|
|
1448
|
+
id: number;
|
|
1449
|
+
/**
|
|
1450
|
+
* The type of reviewer. Currently only `Team` is supported.
|
|
1451
|
+
*/
|
|
1452
|
+
type: string;
|
|
1423
1453
|
}
|
|
1424
1454
|
export interface OrganizationRulesetRulesRequiredCodeScanning {
|
|
1425
1455
|
/**
|
|
@@ -1614,7 +1644,7 @@ export interface RepositoryPagesSource {
|
|
|
1614
1644
|
}
|
|
1615
1645
|
export interface RepositoryRulesetBypassActor {
|
|
1616
1646
|
/**
|
|
1617
|
-
* The ID of the actor that can bypass a ruleset. If `actorType` is `Integration`, `actorId` is a GitHub App ID. App ID can be obtained by following instructions from the [Get an App API docs](https://docs.github.com/en/rest/apps/apps?apiVersion=2022-11-28#get-an-app)
|
|
1647
|
+
* (Number) The ID of the actor that can bypass a ruleset. If `actorType` is `Integration`, `actorId` is a GitHub App ID. App ID can be obtained by following instructions from the [Get an App API docs](https://docs.github.com/en/rest/apps/apps?apiVersion=2022-11-28#get-an-app). Some actor types such as `DeployKey` do not have an ID.
|
|
1618
1648
|
*/
|
|
1619
1649
|
actorId?: number;
|
|
1620
1650
|
/**
|
|
@@ -1633,7 +1663,9 @@ export interface RepositoryRulesetBypassActor {
|
|
|
1633
1663
|
}
|
|
1634
1664
|
export interface RepositoryRulesetConditions {
|
|
1635
1665
|
/**
|
|
1636
|
-
* (Block List,
|
|
1666
|
+
* (Block List, Max: 1) Required for `branch` and `tag` targets. Must NOT be set for `push` targets. (see below for nested schema)
|
|
1667
|
+
*
|
|
1668
|
+
* > **Note:** For `push` targets, do not include `refName` in conditions. Push rulesets operate on file content, not on refs. The `conditions` block is optional for push targets.
|
|
1637
1669
|
*/
|
|
1638
1670
|
refName: outputs.RepositoryRulesetConditionsRefName;
|
|
1639
1671
|
}
|
|
@@ -1877,7 +1909,7 @@ export interface RepositoryRulesetRulesPullRequest {
|
|
|
1877
1909
|
/**
|
|
1878
1910
|
* Array of allowed merge methods. Allowed values include `merge`, `squash`, and `rebase`. At least one option must be enabled.
|
|
1879
1911
|
*/
|
|
1880
|
-
allowedMergeMethods
|
|
1912
|
+
allowedMergeMethods: string[];
|
|
1881
1913
|
/**
|
|
1882
1914
|
* New, reviewable commits pushed will dismiss previous pull request review approvals. Defaults to `false`.
|
|
1883
1915
|
*/
|
|
@@ -1898,6 +1930,34 @@ export interface RepositoryRulesetRulesPullRequest {
|
|
|
1898
1930
|
* All conversations on code must be resolved before a pull request can be merged. Defaults to `false`.
|
|
1899
1931
|
*/
|
|
1900
1932
|
requiredReviewThreadResolution?: boolean;
|
|
1933
|
+
/**
|
|
1934
|
+
* Require specific reviewers to approve pull requests targeting matching branches. Note: This feature is in beta and subject to change.
|
|
1935
|
+
*/
|
|
1936
|
+
requiredReviewers?: outputs.RepositoryRulesetRulesPullRequestRequiredReviewer[];
|
|
1937
|
+
}
|
|
1938
|
+
export interface RepositoryRulesetRulesPullRequestRequiredReviewer {
|
|
1939
|
+
/**
|
|
1940
|
+
* File patterns (fnmatch syntax) that this reviewer must approve.
|
|
1941
|
+
*/
|
|
1942
|
+
filePatterns: string[];
|
|
1943
|
+
/**
|
|
1944
|
+
* Minimum number of approvals required from this reviewer. Set to 0 to make approval optional.
|
|
1945
|
+
*/
|
|
1946
|
+
minimumApprovals: number;
|
|
1947
|
+
/**
|
|
1948
|
+
* The reviewer that must review matching files.
|
|
1949
|
+
*/
|
|
1950
|
+
reviewer: outputs.RepositoryRulesetRulesPullRequestRequiredReviewerReviewer;
|
|
1951
|
+
}
|
|
1952
|
+
export interface RepositoryRulesetRulesPullRequestRequiredReviewerReviewer {
|
|
1953
|
+
/**
|
|
1954
|
+
* The ID of the reviewer that must review.
|
|
1955
|
+
*/
|
|
1956
|
+
id: number;
|
|
1957
|
+
/**
|
|
1958
|
+
* The type of reviewer. Currently only `Team` is supported.
|
|
1959
|
+
*/
|
|
1960
|
+
type: string;
|
|
1901
1961
|
}
|
|
1902
1962
|
export interface RepositoryRulesetRulesRequiredCodeScanning {
|
|
1903
1963
|
/**
|
|
@@ -2032,6 +2092,8 @@ export interface RepositorySecurityAndAnalysisSecretScanningPushProtection {
|
|
|
2032
2092
|
export interface RepositoryTemplate {
|
|
2033
2093
|
/**
|
|
2034
2094
|
* Whether the new repository should include all the branches from the template repository (defaults to false, which includes only the default branch from the template).
|
|
2095
|
+
*
|
|
2096
|
+
* > **Note on `internal` visibility with templates**: When creating a repository from a template with `visibility = "internal"`, the provider uses a two-step process due to GitHub API limitations. The template creation API only supports a `private` boolean parameter. Therefore, repositories with `visibility = "internal"` are initially created as private and then immediately updated to internal visibility. This ensures internal repositories are never exposed publicly during creation.
|
|
2035
2097
|
*/
|
|
2036
2098
|
includeAllBranches?: boolean;
|
|
2037
2099
|
/**
|