Hey there.
This also sounds a bit like this issue.
To try and state the situation briefly:
- Automatic detection of PR parameters in a GitHub Actions environment relies on the presence of a
GITHUB_ACTIONS
environment variable - The scanner does no automatic inference of PR parameters when AWS CodeBuild is detected (presence of
CODEBUILD_BUILD_ID
andCODEBUILD_START_TIME
) - Frustratingly, as found in this post that you noted, if multiple CI environments are detected the autoconfiguration gives up
To be honest, I’m not familiar at all with AWS Code Build runners (until today I thought AWS Code Build and GitHub Actions were very distinct platforms). You learn something new everyday.
You may find it easiest to simply provide the PR parameters on your own.
Or, give a try configuring the GITHUB_ACTIONS
environment variable to a value while unsettling CODEBUILD_BUILD_ID
and CODEBUILD_START_TIME
.
None of these are ideal, and I’ll flag this for attention as a confusing user experience!