-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
I am not sure why but the sourceVersion field in the JSON event never starts with pr/.
github-codebuild-logs/src/build.py
Line 30 in 86f8fd6
| matches = re.match(r'^pr\/(\d+)', self._get_build_details().get('sourceVersion', "")) |
A sample from my event as output when DEBUG is enabled:
'currentPhase': 'COMPLETED', 'buildStatus': 'SUCCEEDED', 'sourceVersion': '686fcdc44df8358e3382e80379d7abec66f47e38', 'resolvedSourceVersion': '686fcdc44df8358e3382e80379d7abec66f47e38',
Am I a missing something silly, do you have to create the PR in a certain way?
Metadata
Metadata
Assignees
Labels
No labels