Hi
We have a process that links a BitBucket repo to cloud build, it creates a trigger for waiting for a push to master. The Trigger is succeeds in being adding, and all connections (host/ repo) are fine. When setting up the trigger, a user service account is specified.
When something is pushed to master it does not behave as expected. Almost immediately a failed build appears (the build hasn't started):
"Your build failed to run: Couldn't read commit COMMIT_SHA"
This build was initiated using the default cloud build service account.
Sometimes, but not always, an additional build appears that us using the user services account specified when the trigger was set up. This build runs as expected.
I can't seem to identify the problem to solve it. Any help would be appreciated.