()
| 314 | }; |
| 315 | |
| 316 | const submitGitHubOAuth = async () => { |
| 317 | const options = []; |
| 318 | |
| 319 | if (originInputs['GitHubClientId'] !== inputs.GitHubClientId) { |
| 320 | options.push({ key: 'GitHubClientId', value: inputs.GitHubClientId }); |
| 321 | } |
| 322 | if ( |
| 323 | originInputs['GitHubClientSecret'] !== inputs.GitHubClientSecret && |
| 324 | inputs.GitHubClientSecret !== '' |
| 325 | ) { |
| 326 | options.push({ |
| 327 | key: 'GitHubClientSecret', |
| 328 | value: inputs.GitHubClientSecret, |
| 329 | }); |
| 330 | } |
| 331 | |
| 332 | if (options.length > 0) { |
| 333 | await updateOptions(options); |
| 334 | } |
| 335 | }; |
| 336 | |
| 337 | const submitOIDCSettings = async () => { |
| 338 | if (inputs['oidc.well_known'] && inputs['oidc.well_known'] !== '') { |
nothing calls this directly
no test coverage detected