CDK 2 CodeBuild with GitHubSourceAction not fetching source code #23849
Unanswered
crucialfelix
asked this question in
Q&A
Replies: 1 comment
-
It seems it silently fails (or doesn't try at all) because of SecretValue.unsafePlainText(gitHubToken) Using a proper SecretManager secret causes it to actually call Github |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello! We've been running a CodeBuild Pipeline for several years–managed with CDK 1. I've just updated to CDK 2.
Everything worked, except our deploys are failing. The GitHubSourceAction doesn't seem to be checking anything out. There is no source code.
I've diffed pre and post migration and besides the imports, nothing has changed really on my side.
Simplified:
What is this Source.gitHub ? If I try to supply it, it fails because of course there are no credentials.
Thanks for any help or pointers!
Beta Was this translation helpful? Give feedback.
All reactions