@pulumi/github 6.7.0-alpha.1740635179 → 6.7.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/package.json +2 -2
- package/types/input.d.ts +35 -0
- package/types/output.d.ts +35 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/github",
|
|
3
|
-
"version": "6.7.0
|
|
3
|
+
"version": "6.7.0",
|
|
4
4
|
"description": "A Pulumi package for creating and managing github cloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -23,6 +23,6 @@
|
|
|
23
23
|
"pulumi": {
|
|
24
24
|
"resource": true,
|
|
25
25
|
"name": "github",
|
|
26
|
-
"version": "6.7.0
|
|
26
|
+
"version": "6.7.0"
|
|
27
27
|
}
|
|
28
28
|
}
|
package/types/input.d.ts
CHANGED
|
@@ -648,6 +648,7 @@ export interface RepositoryRulesetBypassActor {
|
|
|
648
648
|
* (String) When the specified actor can bypass the ruleset. pullRequest means that an actor can only bypass rules on pull requests. Can be one of: `always`, `pullRequest`.
|
|
649
649
|
*
|
|
650
650
|
* > Note: at the time of writing this, the following actor types correspond to the following actor IDs:
|
|
651
|
+
*
|
|
651
652
|
* * `OrganizationAdmin` > `1`
|
|
652
653
|
* * `RepositoryRole` (This is the actor type, the following are the base repository roles and their associated IDs.)
|
|
653
654
|
*/
|
|
@@ -694,6 +695,10 @@ export interface RepositoryRulesetRules {
|
|
|
694
695
|
* (Boolean) Only allow users with bypass permissions to delete matching refs.
|
|
695
696
|
*/
|
|
696
697
|
deletion?: pulumi.Input<boolean>;
|
|
698
|
+
/**
|
|
699
|
+
* (Block List, Max: 1) Merges must be performed via a merge queue.
|
|
700
|
+
*/
|
|
701
|
+
mergeQueue?: pulumi.Input<inputs.RepositoryRulesetRulesMergeQueue>;
|
|
697
702
|
/**
|
|
698
703
|
* (Boolean) Prevent users with push access from force pushing to branches.
|
|
699
704
|
*/
|
|
@@ -807,6 +812,36 @@ export interface RepositoryRulesetRulesCommitterEmailPattern {
|
|
|
807
812
|
*/
|
|
808
813
|
pattern: pulumi.Input<string>;
|
|
809
814
|
}
|
|
815
|
+
export interface RepositoryRulesetRulesMergeQueue {
|
|
816
|
+
/**
|
|
817
|
+
* Maximum time for a required status check to report a conclusion. After this much time has elapsed, checks that have not reported a conclusion will be assumed to have failed. Defaults to `60`.
|
|
818
|
+
*/
|
|
819
|
+
checkResponseTimeoutMinutes?: pulumi.Input<number>;
|
|
820
|
+
/**
|
|
821
|
+
* When set to ALLGREEN, the merge commit created by merge queue for each PR in the group must pass all required checks to merge. When set to HEADGREEN, only the commit at the head of the merge group, i.e. the commit containing changes from all of the PRs in the group, must pass its required checks to merge. Can be one of: ALLGREEN, HEADGREEN. Defaults to `ALLGREEN`.
|
|
822
|
+
*/
|
|
823
|
+
groupingStrategy?: pulumi.Input<string>;
|
|
824
|
+
/**
|
|
825
|
+
* Limit the number of queued pull requests requesting checks and workflow runs at the same time. Defaults to `5`.
|
|
826
|
+
*/
|
|
827
|
+
maxEntriesToBuild?: pulumi.Input<number>;
|
|
828
|
+
/**
|
|
829
|
+
* The maximum number of PRs that will be merged together in a group. Defaults to `5`.
|
|
830
|
+
*/
|
|
831
|
+
maxEntriesToMerge?: pulumi.Input<number>;
|
|
832
|
+
/**
|
|
833
|
+
* Method to use when merging changes from queued pull requests. Can be one of: MERGE, SQUASH, REBASE. Defaults to `MERGE`.
|
|
834
|
+
*/
|
|
835
|
+
mergeMethod?: pulumi.Input<string>;
|
|
836
|
+
/**
|
|
837
|
+
* The minimum number of PRs that will be merged together in a group. Defaults to `1`.
|
|
838
|
+
*/
|
|
839
|
+
minEntriesToMerge?: pulumi.Input<number>;
|
|
840
|
+
/**
|
|
841
|
+
* The time merge queue should wait after the first PR is added to the queue for the minimum group size to be met. After this time has elapsed, the minimum group size will be ignored and a smaller group will be merged. Defaults to `5`.
|
|
842
|
+
*/
|
|
843
|
+
minEntriesToMergeWaitMinutes?: pulumi.Input<number>;
|
|
844
|
+
}
|
|
810
845
|
export interface RepositoryRulesetRulesPullRequest {
|
|
811
846
|
/**
|
|
812
847
|
* New, reviewable commits pushed will dismiss previous pull request review approvals. Defaults to `false`.
|
package/types/output.d.ts
CHANGED
|
@@ -1398,6 +1398,7 @@ export interface RepositoryRulesetBypassActor {
|
|
|
1398
1398
|
* (String) When the specified actor can bypass the ruleset. pullRequest means that an actor can only bypass rules on pull requests. Can be one of: `always`, `pullRequest`.
|
|
1399
1399
|
*
|
|
1400
1400
|
* > Note: at the time of writing this, the following actor types correspond to the following actor IDs:
|
|
1401
|
+
*
|
|
1401
1402
|
* * `OrganizationAdmin` > `1`
|
|
1402
1403
|
* * `RepositoryRole` (This is the actor type, the following are the base repository roles and their associated IDs.)
|
|
1403
1404
|
*/
|
|
@@ -1444,6 +1445,10 @@ export interface RepositoryRulesetRules {
|
|
|
1444
1445
|
* (Boolean) Only allow users with bypass permissions to delete matching refs.
|
|
1445
1446
|
*/
|
|
1446
1447
|
deletion?: boolean;
|
|
1448
|
+
/**
|
|
1449
|
+
* (Block List, Max: 1) Merges must be performed via a merge queue.
|
|
1450
|
+
*/
|
|
1451
|
+
mergeQueue?: outputs.RepositoryRulesetRulesMergeQueue;
|
|
1447
1452
|
/**
|
|
1448
1453
|
* (Boolean) Prevent users with push access from force pushing to branches.
|
|
1449
1454
|
*/
|
|
@@ -1557,6 +1562,36 @@ export interface RepositoryRulesetRulesCommitterEmailPattern {
|
|
|
1557
1562
|
*/
|
|
1558
1563
|
pattern: string;
|
|
1559
1564
|
}
|
|
1565
|
+
export interface RepositoryRulesetRulesMergeQueue {
|
|
1566
|
+
/**
|
|
1567
|
+
* Maximum time for a required status check to report a conclusion. After this much time has elapsed, checks that have not reported a conclusion will be assumed to have failed. Defaults to `60`.
|
|
1568
|
+
*/
|
|
1569
|
+
checkResponseTimeoutMinutes?: number;
|
|
1570
|
+
/**
|
|
1571
|
+
* When set to ALLGREEN, the merge commit created by merge queue for each PR in the group must pass all required checks to merge. When set to HEADGREEN, only the commit at the head of the merge group, i.e. the commit containing changes from all of the PRs in the group, must pass its required checks to merge. Can be one of: ALLGREEN, HEADGREEN. Defaults to `ALLGREEN`.
|
|
1572
|
+
*/
|
|
1573
|
+
groupingStrategy?: string;
|
|
1574
|
+
/**
|
|
1575
|
+
* Limit the number of queued pull requests requesting checks and workflow runs at the same time. Defaults to `5`.
|
|
1576
|
+
*/
|
|
1577
|
+
maxEntriesToBuild?: number;
|
|
1578
|
+
/**
|
|
1579
|
+
* The maximum number of PRs that will be merged together in a group. Defaults to `5`.
|
|
1580
|
+
*/
|
|
1581
|
+
maxEntriesToMerge?: number;
|
|
1582
|
+
/**
|
|
1583
|
+
* Method to use when merging changes from queued pull requests. Can be one of: MERGE, SQUASH, REBASE. Defaults to `MERGE`.
|
|
1584
|
+
*/
|
|
1585
|
+
mergeMethod?: string;
|
|
1586
|
+
/**
|
|
1587
|
+
* The minimum number of PRs that will be merged together in a group. Defaults to `1`.
|
|
1588
|
+
*/
|
|
1589
|
+
minEntriesToMerge?: number;
|
|
1590
|
+
/**
|
|
1591
|
+
* The time merge queue should wait after the first PR is added to the queue for the minimum group size to be met. After this time has elapsed, the minimum group size will be ignored and a smaller group will be merged. Defaults to `5`.
|
|
1592
|
+
*/
|
|
1593
|
+
minEntriesToMergeWaitMinutes?: number;
|
|
1594
|
+
}
|
|
1560
1595
|
export interface RepositoryRulesetRulesPullRequest {
|
|
1561
1596
|
/**
|
|
1562
1597
|
* New, reviewable commits pushed will dismiss previous pull request review approvals. Defaults to `false`.
|