Skip to content

Commit d2c5c5f

Browse files
pulumi-botpulumi-bot
andauthored
Upgrade terraform-provider-github to v5.28.0 (#376)
* make tfgen * make build_sdks --------- Co-authored-by: pulumi-bot <runner@fv-az283-16.kpokbfqxctbevcsxt0cqdblead.jx.internal.cloudapp.net>
1 parent a62e744 commit d2c5c5f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+1689
-94
lines changed

provider/cmd/pulumi-resource-github/bridge-metadata.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,9 @@
127127
"github_branch_protection": {
128128
"current": "github:index/branchProtection:BranchProtection",
129129
"fields": {
130+
"force_push_bypassers": {
131+
"maxItemsOne": false
132+
},
130133
"push_restrictions": {
131134
"maxItemsOne": false
132135
},
@@ -489,6 +492,9 @@
489492
"github_app": {
490493
"current": "github:index/getGithubApp:getGithubApp"
491494
},
495+
"github_app_token": {
496+
"current": "github:index/getAppToken:getAppToken"
497+
},
492498
"github_branch": {
493499
"current": "github:index/getBranch:getBranch"
494500
},
@@ -674,6 +680,7 @@
674680
"github:index/getActionsRepositoryOidcSubjectClaimCustomizationTemplate:getActionsRepositoryOidcSubjectClaimCustomizationTemplate": "github_actions_repository_oidc_subject_claim_customization_template",
675681
"github:index/getActionsSecrets:getActionsSecrets": "github_actions_secrets",
676682
"github:index/getActionsVariables:getActionsVariables": "github_actions_variables",
683+
"github:index/getAppToken:getAppToken": "github_app_token",
677684
"github:index/getBranch:getBranch": "github_branch",
678685
"github:index/getBranchProtectionRules:getBranchProtectionRules": "github_branch_protection_rules",
679686
"github:index/getCollaborators:getCollaborators": "github_collaborators",
@@ -879,6 +886,7 @@
879886
"allowsForcePushes": "allows_force_pushes",
880887
"blocksCreations": "blocks_creations",
881888
"enforceAdmins": "enforce_admins",
889+
"forcePushBypassers": "force_push_bypassers",
882890
"lockBranch": "lock_branch",
883891
"pushRestrictions": "push_restrictions",
884892
"repositoryId": "repository_id",
@@ -978,6 +986,11 @@
978986
"createdAt": "created_at",
979987
"updatedAt": "updated_at"
980988
},
989+
"github:index/getAppToken:getAppToken": {
990+
"appId": "app_id",
991+
"installationId": "installation_id",
992+
"pemFile": "pem_file"
993+
},
981994
"github:index/getCollaborators:getCollaborators": {
982995
"collaborators": "collaborator"
983996
},
@@ -1151,6 +1164,7 @@
11511164
"dueDate": "due_date"
11521165
},
11531166
"github:index/getRepositoryPage:getRepositoryPage": {
1167+
"buildType": "build_type",
11541168
"custom404": "custom_404",
11551169
"htmlUrl": "html_url",
11561170
"sources": "source"

provider/cmd/pulumi-resource-github/schema.json

Lines changed: 93 additions & 10 deletions
Large diffs are not rendered by default.

provider/go.mod

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ go 1.19
44

55
require (
66
github.com/hashicorp/terraform-plugin-sdk v1.17.2
7-
github.com/integrations/terraform-provider-github/v5 v5.26.0
8-
github.com/pulumi/pulumi-terraform-bridge/v3 v3.49.0
9-
github.com/pulumi/pulumi/sdk/v3 v3.69.0
7+
github.com/integrations/terraform-provider-github/v5 v5.28.0
8+
github.com/pulumi/pulumi-terraform-bridge/v3 v3.50.1
9+
github.com/pulumi/pulumi/sdk/v3 v3.71.0
1010
)
1111

1212
require (
@@ -86,7 +86,7 @@ require (
8686
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
8787
github.com/golang/protobuf v1.5.3 // indirect
8888
github.com/google/go-cmp v0.5.9 // indirect
89-
github.com/google/go-github/v52 v52.0.0 // indirect
89+
github.com/google/go-github/v53 v53.0.0 // indirect
9090
github.com/google/go-querystring v1.1.0 // indirect
9191
github.com/google/s2a-go v0.1.1 // indirect
9292
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect
@@ -156,10 +156,10 @@ require (
156156
github.com/pkg/term v1.1.0 // indirect
157157
github.com/pmezard/go-difflib v1.0.0 // indirect
158158
github.com/posener/complete v1.2.3 // indirect
159-
github.com/pulumi/pulumi-java/pkg v0.9.2 // indirect
159+
github.com/pulumi/pulumi-java/pkg v0.9.4 // indirect
160160
github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.4 // indirect
161161
github.com/pulumi/pulumi-yaml v1.1.1 // indirect
162-
github.com/pulumi/pulumi/pkg/v3 v3.69.0 // indirect
162+
github.com/pulumi/pulumi/pkg/v3 v3.71.0 // indirect
163163
github.com/pulumi/schema-tools v0.2.2 // indirect
164164
github.com/pulumi/terraform-diff-reader v0.0.0-20201211191010-ad4715e9285e // indirect
165165
github.com/rivo/uniseg v0.4.4 // indirect
@@ -179,20 +179,19 @@ require (
179179
github.com/spf13/cast v1.5.0 // indirect
180180
github.com/spf13/cobra v1.7.0 // indirect
181181
github.com/spf13/pflag v1.0.5 // indirect
182-
github.com/stretchr/testify v1.8.3 // indirect
182+
github.com/stretchr/testify v1.8.4 // indirect
183183
github.com/texttheater/golang-levenshtein v1.0.1 // indirect
184184
github.com/tweekmonster/luser v0.0.0-20161003172636-3fa38070dbd7 // indirect
185185
github.com/uber/jaeger-client-go v2.30.0+incompatible // indirect
186186
github.com/uber/jaeger-lib v2.4.1+incompatible // indirect
187187
github.com/ulikunitz/xz v0.5.11 // indirect
188188
github.com/vmihailenco/msgpack/v5 v5.3.5 // indirect
189-
github.com/vmihailenco/tagparser v0.1.2 // indirect
190189
github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect
191190
github.com/xanzy/ssh-agent v0.3.3 // indirect
192191
github.com/xeipuuv/gojsonpointer v0.0.0-20190905194746-02993c407bfb // indirect
193192
github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect
194193
github.com/xeipuuv/gojsonschema v1.2.0 // indirect
195-
github.com/zclconf/go-cty v1.13.1 // indirect
194+
github.com/zclconf/go-cty v1.13.2 // indirect
196195
github.com/zclconf/go-cty-yaml v1.0.3 // indirect
197196
go.opencensus.io v0.24.0 // indirect
198197
go.uber.org/atomic v1.10.0 // indirect
@@ -212,7 +211,7 @@ require (
212211
google.golang.org/api v0.118.0 // indirect
213212
google.golang.org/appengine v1.6.7 // indirect
214213
google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1 // indirect
215-
google.golang.org/grpc v1.54.0 // indirect
214+
google.golang.org/grpc v1.55.0 // indirect
216215
google.golang.org/protobuf v1.30.0 // indirect
217216
gopkg.in/square/go-jose.v2 v2.6.0 // indirect
218217
gopkg.in/warnings.v0 v0.1.2 // indirect

provider/go.sum

Lines changed: 20 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1226,8 +1226,8 @@ github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeN
12261226
github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38=
12271227
github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
12281228
github.com/google/go-containerregistry v0.5.1/go.mod h1:Ct15B4yir3PLOP5jsy0GNeYVaIZs/MK/Jz5any1wFW0=
1229-
github.com/google/go-github/v52 v52.0.0 h1:uyGWOY+jMQ8GVGSX8dkSwCzlehU3WfdxQ7GweO/JP7M=
1230-
github.com/google/go-github/v52 v52.0.0/go.mod h1:WJV6VEEUPuMo5pXqqa2ZCZEdbQqua4zAk2MZTIo+m+4=
1229+
github.com/google/go-github/v53 v53.0.0 h1:T1RyHbSnpHYnoF0ZYKiIPSgPtuJ8G6vgc0MKodXsQDQ=
1230+
github.com/google/go-github/v53 v53.0.0/go.mod h1:XhFRObz+m/l+UCm9b7KSIC3lT3NWSXGt7mOsAWEloao=
12311231
github.com/google/go-querystring v1.0.0/go.mod h1:odCYkC5MyYFN7vkCjXpyrEuKhc/BUO6wN/zVPAxq5ck=
12321232
github.com/google/go-querystring v1.1.0 h1:AnCroh3fv4ZBgVIf1Iwtovgjaw/GiKJo8M8yD/fhyJ8=
12331233
github.com/google/go-querystring v1.1.0/go.mod h1:Kcdr2DB4koayq7X8pmAG4sNG59So17icRSOU623lUBU=
@@ -1454,13 +1454,13 @@ github.com/hashicorp/terraform-json v0.4.0/go.mod h1:eAbqb4w0pSlRmdvl8fOyHAi/+8j
14541454
github.com/hashicorp/terraform-json v0.5.0/go.mod h1:eAbqb4w0pSlRmdvl8fOyHAi/+8jnkVYN28gJkSJrLhU=
14551455
github.com/hashicorp/terraform-json v0.10.0 h1:9syPD/Y5t+3uFjG8AiWVPu1bklJD8QB8iTCaJASc8oQ=
14561456
github.com/hashicorp/terraform-json v0.10.0/go.mod h1:3defM4kkMfttwiE7VakJDwCd4R+umhSQnvJwORXbprE=
1457-
github.com/hashicorp/terraform-plugin-go v0.14.1 h1:cwZzPYla82XwAqpLhSzdVsOMU+6H29tczAwrB0z9Zek=
1457+
github.com/hashicorp/terraform-plugin-go v0.14.3 h1:nlnJ1GXKdMwsC8g1Nh05tK2wsC3+3BL/DBBxFEki+j0=
14581458
github.com/hashicorp/terraform-plugin-log v0.7.0 h1:SDxJUyT8TwN4l5b5/VkiTIaQgY6R+Y2BQ0sRZftGKQs=
14591459
github.com/hashicorp/terraform-plugin-sdk v1.7.0/go.mod h1:OjgQmey5VxnPej/buEhe+YqKm0KNvV3QqU4hkqHqPCY=
14601460
github.com/hashicorp/terraform-plugin-sdk v1.17.2 h1:V7DUR3yBWFrVB9z3ddpY7kiYVSsq4NYR67NiTs93NQo=
14611461
github.com/hashicorp/terraform-plugin-sdk v1.17.2/go.mod h1:wkvldbraEMkz23NxkkAsFS88A1R9eUiooiaUZyS6TLw=
14621462
github.com/hashicorp/terraform-plugin-sdk/v2 v2.0.2/go.mod h1:pVZLnLuSe/yv0XqTHFPb8xRGWPwgANT77jHeHqjXS5o=
1463-
github.com/hashicorp/terraform-plugin-sdk/v2 v2.19.0 h1:7gDAcfto/C4Cjtf90SdukQshsxdMxJ/P69QxiF3digI=
1463+
github.com/hashicorp/terraform-plugin-sdk/v2 v2.24.1 h1:zHcMbxY0+rFO9gY99elV/XC/UnQVg7FhRCbj1i5b7vM=
14641464
github.com/hashicorp/terraform-plugin-test v1.2.0 h1:AWFdqyfnOj04sxTdaAF57QqvW7XXrT8PseUHkbKsE8I=
14651465
github.com/hashicorp/terraform-plugin-test v1.2.0/go.mod h1:QIJHYz8j+xJtdtLrFTlzQVC0ocr3rf/OjIpgZLK56Hs=
14661466
github.com/hashicorp/terraform-plugin-test/v2 v2.1.1/go.mod h1:HaW2G5cDTVyiEKt7PHC85YSM5BwvYl/rIko1g8Lg7qE=
@@ -1511,8 +1511,8 @@ github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANyt
15111511
github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8=
15121512
github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw=
15131513
github.com/influxdata/influxdb1-client v0.0.0-20200827194710-b269163b24ab/go.mod h1:qj24IKcXYK6Iy9ceXlo3Tc+vtHo9lIhSX5JddghvEPo=
1514-
github.com/integrations/terraform-provider-github/v5 v5.26.0 h1:Q4uhfaNqze6v2fDEoRh88zjOVGwfGicsjkBTk5vDmZc=
1515-
github.com/integrations/terraform-provider-github/v5 v5.26.0/go.mod h1:iCRmAR04wpWR1s8GeRkF3JAZfWU5c7Lvb4gjZNDvw6k=
1514+
github.com/integrations/terraform-provider-github/v5 v5.28.0 h1:EgcwPFP7hl3jas8VNzOmB+7O86zaZHoA23nstEK4OAE=
1515+
github.com/integrations/terraform-provider-github/v5 v5.28.0/go.mod h1:F9UtFg2UORKY+iiVAcc9878tEYdr5r2NwWcMLl4UI58=
15161516
github.com/intel/goresctrl v0.2.0/go.mod h1:+CZdzouYFn5EsxgqAQTEzMfwKwuc0fVdMrT9FCCAVRQ=
15171517
github.com/ionos-cloud/sdk-go/v6 v6.1.3/go.mod h1:Ox3W0iiEz0GHnfY9e5LmAxwklsxguuNFEUSu0gVRTME=
15181518
github.com/j-keck/arping v0.0.0-20160618110441-2cf9dc699c56/go.mod h1:ymszkNOg6tORTn+6F6j+Jc8TOr5osrynvN6ivFWZ2GA=
@@ -1971,19 +1971,19 @@ github.com/prometheus/procfs v0.8.0/go.mod h1:z7EfXMXOkbkqb9IINtpCn86r/to3BnA0ua
19711971
github.com/prometheus/prometheus v0.35.0/go.mod h1:7HaLx5kEPKJ0GDgbODG0fZgXbQ8K/XjZNJXQmbmgQlY=
19721972
github.com/prometheus/prometheus v0.42.0/go.mod h1:Pfqb/MLnnR2KK+0vchiaH39jXxvLMBk+3lnIGP4N7Vk=
19731973
github.com/prometheus/tsdb v0.7.1/go.mod h1:qhTCs0VvXwvX/y3TZrWD7rabWM+ijKTux40TwIPHuXU=
1974-
github.com/pulumi/pulumi-java/pkg v0.9.2 h1:fpBwf1NHf3j5YuigOWsXPvJCAFivEp1D6aOlYIrSbr0=
1975-
github.com/pulumi/pulumi-java/pkg v0.9.2/go.mod h1:+5V4jggi3063hksi28zYvLm42UWVg3VqpR6qGZraIdM=
1974+
github.com/pulumi/pulumi-java/pkg v0.9.4 h1:gIQZmlUI1o9ye8CL2XFqtmAX6Lwr9uj/+HzjboiSmK4=
1975+
github.com/pulumi/pulumi-java/pkg v0.9.4/go.mod h1:c6rSw/+q4O0IImgJ9axxoC6QesbPYWBaG5gimbHouUQ=
19761976
github.com/pulumi/pulumi-terraform-bridge/testing v0.0.1 h1:SCg1gjfY9N4yn8U8peIUYATifjoDABkyR7H9lmefsfc=
1977-
github.com/pulumi/pulumi-terraform-bridge/v3 v3.49.0 h1:bjPwHGfMFdX/UjEX0VCjuQAD6eQvn1tI42atlixECC8=
1978-
github.com/pulumi/pulumi-terraform-bridge/v3 v3.49.0/go.mod h1:QdMHrg7J/OnXdm68lQROGLivbJlwMpHq75kdnigDSWw=
1977+
github.com/pulumi/pulumi-terraform-bridge/v3 v3.50.1 h1:3lfYzYjs/8ZtJuOm3xHhnGV9T5FQ+MObIOIcNEOQxEk=
1978+
github.com/pulumi/pulumi-terraform-bridge/v3 v3.50.1/go.mod h1:ek2NJSTqeI5+V6wL2Cv8qy3f7S0Uc04UT/m6U582fSs=
19791979
github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.4 h1:rIzMmtcVpPX8ynaz6/nW5AHNY63DiNfCohqmxWvMpM4=
19801980
github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.4/go.mod h1:Kt8RIZWa/N8rW3+0g6NrqCBmF3o+HuIhFaZpssEkG6w=
19811981
github.com/pulumi/pulumi-yaml v1.1.1 h1:8pyBNIU8+ym0wYpjhsCqN+cutygfK1XbhY2YEeNfyXY=
19821982
github.com/pulumi/pulumi-yaml v1.1.1/go.mod h1:GhpdS6rFpwqvUtKdA+fQy8P28iNvncng39IXh5q68vE=
1983-
github.com/pulumi/pulumi/pkg/v3 v3.69.0 h1:IP9WCBFYRXWzbEFNsSquBoHKF5ux32XImKpRdju8HjU=
1984-
github.com/pulumi/pulumi/pkg/v3 v3.69.0/go.mod h1:GbsJqE2bGotPY+mj07LKlpps9ZzAlV7qRQ/u77kw9yk=
1985-
github.com/pulumi/pulumi/sdk/v3 v3.69.0 h1:WENc7menQMT10I34kVg1ZatQTMlifovuZ9i8CcTrk7A=
1986-
github.com/pulumi/pulumi/sdk/v3 v3.69.0/go.mod h1:BUUBfQZsH0FPuznRfFHkR+b96VlXELnn+DgidFj4XSQ=
1983+
github.com/pulumi/pulumi/pkg/v3 v3.71.0 h1:SdmFCDKQGz6HxbHi+7CDTRQ9pQfWOJWmLL5Kh4ayQEk=
1984+
github.com/pulumi/pulumi/pkg/v3 v3.71.0/go.mod h1:U4IvxPAIezAbJwwyGl2faq09XC0BP3RxQbwZmBYy6fM=
1985+
github.com/pulumi/pulumi/sdk/v3 v3.71.0 h1:D/02vc3Xn/eKxwCDWuYmkxAO1Jm7waOeiuxercQQWLY=
1986+
github.com/pulumi/pulumi/sdk/v3 v3.71.0/go.mod h1:BUUBfQZsH0FPuznRfFHkR+b96VlXELnn+DgidFj4XSQ=
19871987
github.com/pulumi/schema-tools v0.2.2 h1:KiH/OP/mFF5XjXcOtrPOZ2Z5Sjtb0mLAaHgjJMcjMi4=
19881988
github.com/pulumi/schema-tools v0.2.2/go.mod h1:62lgj52Tzq11eqWTIaKd+EVyYAu5dEcDJxMhTjvMO/k=
19891989
github.com/pulumi/terraform-diff-reader v0.0.0-20201211191010-ad4715e9285e h1:Dik4Qe/+xguB8JagPyXNlbOnRiXGmq/PSPQTGunYnTk=
@@ -2123,8 +2123,8 @@ github.com/stretchr/testify v1.7.2/go.mod h1:R6va5+xMeoiuVRoj+gSkQ7d3FALtqAAGI1F
21232123
github.com/stretchr/testify v1.7.5/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU=
21242124
github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU=
21252125
github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4=
2126-
github.com/stretchr/testify v1.8.3 h1:RP3t2pwF7cMEbC1dqtB6poj3niw/9gnV4Cjg5oW5gtY=
2127-
github.com/stretchr/testify v1.8.3/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo=
2126+
github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk=
2127+
github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo=
21282128
github.com/subosito/gotenv v1.2.0/go.mod h1:N0PQaV/YGNqwC0u51sEeR/aUtSLEXKX9iv69rRypqCw=
21292129
github.com/subosito/gotenv v1.4.1/go.mod h1:ayKnFf/c6rvx/2iiLrJUk1e6plDbT3edrFNGqEflhK0=
21302130
github.com/syndtr/gocapability v0.0.0-20170704070218-db04d3cc01c8/go.mod h1:hkRG7XYTFWNJGYcbNJQlaLq0fg1yr4J4t/NcTQtrfww=
@@ -2176,7 +2176,6 @@ github.com/vmihailenco/msgpack/v5 v5.3.5 h1:5gO0H1iULLWGhs2H5tbAHIZTV8/cYafcFOr9
21762176
github.com/vmihailenco/msgpack/v5 v5.3.5/go.mod h1:7xyJ9e+0+9SaZT0Wt1RGleJXzli6Q/V5KbhBonMG9jc=
21772177
github.com/vmihailenco/tagparser v0.1.1/go.mod h1:OeAg3pn3UbLjkWt+rN9oFYB6u/cQgqMEUPoW2WPyhdI=
21782178
github.com/vmihailenco/tagparser v0.1.2 h1:gnjoVuB/kljJ5wICEEOpx98oXMWPLj22G67Vbd1qPqc=
2179-
github.com/vmihailenco/tagparser v0.1.2/go.mod h1:OeAg3pn3UbLjkWt+rN9oFYB6u/cQgqMEUPoW2WPyhdI=
21802179
github.com/vmihailenco/tagparser/v2 v2.0.0 h1:y09buUbR+b5aycVFQs/g70pqKVZNBmxwAhO7/IwNM9g=
21812180
github.com/vmihailenco/tagparser/v2 v2.0.0/go.mod h1:Wri+At7QHww0WTrCBeu4J6bNtoV6mEfg5OIWRZA9qds=
21822181
github.com/vultr/govultr/v2 v2.17.2/go.mod h1:ZFOKGWmgjytfyjeyAdhQlSWwTjh2ig+X49cAp50dzXI=
@@ -2218,8 +2217,8 @@ github.com/zclconf/go-cty v1.1.0/go.mod h1:xnAOWiHeOqg2nWS62VtQ7pbOu17FtxJNW8RLE
22182217
github.com/zclconf/go-cty v1.2.0/go.mod h1:hOPWgoHbaTUnI5k4D2ld+GRpFJSCe6bCM7m1q/N4PQ8=
22192218
github.com/zclconf/go-cty v1.2.1/go.mod h1:hOPWgoHbaTUnI5k4D2ld+GRpFJSCe6bCM7m1q/N4PQ8=
22202219
github.com/zclconf/go-cty v1.8.2/go.mod h1:vVKLxnk3puL4qRAv72AO+W99LUD4da90g3uUAzyuvAk=
2221-
github.com/zclconf/go-cty v1.13.1 h1:0a6bRwuiSHtAmqCqNOE+c2oHgepv0ctoxU4FUe43kwc=
2222-
github.com/zclconf/go-cty v1.13.1/go.mod h1:YKQzy/7pZ7iq2jNFzy5go57xdxdWoLLpaEp4u238AE0=
2220+
github.com/zclconf/go-cty v1.13.2 h1:4GvrUxe/QUDYuJKAav4EYqdM47/kZa672LwmXFmEKT0=
2221+
github.com/zclconf/go-cty v1.13.2/go.mod h1:YKQzy/7pZ7iq2jNFzy5go57xdxdWoLLpaEp4u238AE0=
22232222
github.com/zclconf/go-cty-debug v0.0.0-20191215020915-b22d67c1ba0b/go.mod h1:ZRKQfBXbGkpdV6QMzT3rU1kSTAnfu1dO8dPKjYprgj8=
22242223
github.com/zclconf/go-cty-yaml v1.0.1/go.mod h1:IP3Ylp0wQpYm50IHK8OZWKMu6sPJIUgKa8XhiVHura0=
22252224
github.com/zclconf/go-cty-yaml v1.0.2/go.mod h1:IP3Ylp0wQpYm50IHK8OZWKMu6sPJIUgKa8XhiVHura0=
@@ -3166,8 +3165,8 @@ google.golang.org/grpc v1.50.1/go.mod h1:ZgQEeidpAuNRZ8iRrlBKXZQP1ghovWIVhdJRyCD
31663165
google.golang.org/grpc v1.51.0/go.mod h1:wgNDFcnuBGmxLKI/qn4T+m5BtEBYXJPvibbUPsAIPww=
31673166
google.golang.org/grpc v1.52.1/go.mod h1:pu6fVzoFb+NBYNAvQL08ic+lvB2IojljRYuun5vorUY=
31683167
google.golang.org/grpc v1.53.0/go.mod h1:OnIrk0ipVdj4N5d9IUoFUx72/VlD7+jUsHwZgwSMQpw=
3169-
google.golang.org/grpc v1.54.0 h1:EhTqbhiYeixwWQtAEZAxmV9MGqcjEU2mFx52xCzNyag=
3170-
google.golang.org/grpc v1.54.0/go.mod h1:PUSEXI6iWghWaB6lXM4knEgpJNu2qUcKfDtNci3EC2g=
3168+
google.golang.org/grpc v1.55.0 h1:3Oj82/tFSCeUrRTg/5E/7d/W5A1tj6Ky1ABAuZuv5ag=
3169+
google.golang.org/grpc v1.55.0/go.mod h1:iYEXKGkEBhg1PjZQvoYEVPTDkHo1/bjTnfwTeGONTY8=
31713170
google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.1.0/go.mod h1:6Kw0yEErY5E/yWrBtf03jp27GLLJujG4z/JK95pnjjw=
31723171
google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8=
31733172
google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0=

sdk/dotnet/BranchProtection.cs

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,12 @@ namespace Pulumi.Github
7474
/// "/exampleuser",
7575
/// "exampleorganization/exampleteam",
7676
/// },
77+
/// ForcePushBypassers = new[]
78+
/// {
79+
/// exampleUser.Apply(getUserResult =&gt; getUserResult.NodeId),
80+
/// "/exampleuser",
81+
/// "exampleorganization/exampleteam",
82+
/// },
7783
/// });
7884
///
7985
/// var exampleTeamRepository = new Github.TeamRepository("exampleTeamRepository", new()
@@ -121,6 +127,12 @@ public partial class BranchProtection : global::Pulumi.CustomResource
121127
[Output("enforceAdmins")]
122128
public Output<bool?> EnforceAdmins { get; private set; } = null!;
123129

130+
/// <summary>
131+
/// The list of actor Names/IDs that are allowed to bypass force push restrictions. Actor names must either begin with a "/" for users or the organization name followed by a "/" for teams.
132+
/// </summary>
133+
[Output("forcePushBypassers")]
134+
public Output<ImmutableArray<string>> ForcePushBypassers { get; private set; } = null!;
135+
124136
/// <summary>
125137
/// Boolean, Setting this to `true` will make the branch read-only and preventing any pushes to it. Defaults to `false`
126138
/// </summary>
@@ -245,6 +257,18 @@ public sealed class BranchProtectionArgs : global::Pulumi.ResourceArgs
245257
[Input("enforceAdmins")]
246258
public Input<bool>? EnforceAdmins { get; set; }
247259

260+
[Input("forcePushBypassers")]
261+
private InputList<string>? _forcePushBypassers;
262+
263+
/// <summary>
264+
/// The list of actor Names/IDs that are allowed to bypass force push restrictions. Actor names must either begin with a "/" for users or the organization name followed by a "/" for teams.
265+
/// </summary>
266+
public InputList<string> ForcePushBypassers
267+
{
268+
get => _forcePushBypassers ?? (_forcePushBypassers = new InputList<string>());
269+
set => _forcePushBypassers = value;
270+
}
271+
248272
/// <summary>
249273
/// Boolean, Setting this to `true` will make the branch read-only and preventing any pushes to it. Defaults to `false`
250274
/// </summary>
@@ -349,6 +373,18 @@ public sealed class BranchProtectionState : global::Pulumi.ResourceArgs
349373
[Input("enforceAdmins")]
350374
public Input<bool>? EnforceAdmins { get; set; }
351375

376+
[Input("forcePushBypassers")]
377+
private InputList<string>? _forcePushBypassers;
378+
379+
/// <summary>
380+
/// The list of actor Names/IDs that are allowed to bypass force push restrictions. Actor names must either begin with a "/" for users or the organization name followed by a "/" for teams.
381+
/// </summary>
382+
public InputList<string> ForcePushBypassers
383+
{
384+
get => _forcePushBypassers ?? (_forcePushBypassers = new InputList<string>());
385+
set => _forcePushBypassers = value;
386+
}
387+
352388
/// <summary>
353389
/// Boolean, Setting this to `true` will make the branch read-only and preventing any pushes to it. Defaults to `false`
354390
/// </summary>

0 commit comments

Comments
 (0)