Skip to content

Commit d865a86

Browse files
authored
docs: Update example useage comment (#23499)
---- ### All Submissions: * [y] Have you followed the guidelines in our [Contributing guide?](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) ### Adding new Construct Runtime Dependencies: * [n] This PR adds new construct runtime dependencies following the process described [here](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md/#adding-construct-runtime-dependencies) ### New Features * [n] Have you added the new feature to an [integration test](https://github.com/aws/aws-cdk/blob/main/INTEGRATION_TESTS.md)? * [n] Did you use `yarn integ` to deploy the infrastructure and generate the snapshot (i.e. `yarn integ` without `--dry-run`)? *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent 4baea78 commit d865a86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/@aws-cdk/aws-codepipeline-actions/lib/github/source-action.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ export interface GitHubSourceActionProps extends codepipeline.CommonActionProps
6565
* It is recommended to use a Secrets Manager `Secret` to obtain the token:
6666
*
6767
* const oauth = cdk.SecretValue.secretsManager('my-github-token');
68-
* new GitHubSource(this, 'GitHubAction', { oauthToken: oauth, ... });
68+
* new GitHubSourceAction(this, 'GitHubAction', { oauthToken: oauth, ... });
6969
*
7070
* If you rotate the value in the Secret, you must also change at least one property
7171
* of the CodePipeline to force CloudFormation to re-read the secret.

0 commit comments

Comments
 (0)