aws-cdk-lib/pipelines: CodePipelineSource.github documentation evokes questions #23237
Labels
@aws-cdk/pipelines
CDK Pipelines library
documentation
This is a problem with documentation.
effort/small
Small work item – less than a day of effort
feature-request
A feature should be added or improved.
good first issue
Related to contributions. See CONTRIBUTING.md
p3
Describe the issue
CodePipelineSource.gitHub
says "This is no longer the recommended method." but why not?I tracked down the comment in question to this PR and specifically to this commit.
The odd thing is that the comment was added with the wording as such at the time the feature was being added. But the wording seems to imply that at one point the method was the recommended method, but the method didn't exist before the PR which introduced both it and the comment.
I am wondering why it wouldn't be a good idea to use this method, seeing as I am already using the GitHubSourceAction in one of my stacks and it is using the owner/repo/branch with the oauthToken as a SecretValue?
Links
https://github.com/aws/aws-cdk/blob/main/packages/%40aws-cdk/pipelines/lib/codepipeline/codepipeline-source.ts#L24
The text was updated successfully, but these errors were encountered: