Unauthorized when aborting builds with build_params

Hey there

We noticed that we can’t abort builds with curl when custom build_params are set.

Steps to reproduce the issue :

  • Trigger a build with a github pull-request (created or pushed)
  • Try to abort this build via api /apps/{app-slug}/builds/{build-slug}/abort
    → Unauthorized

The abort api is working fine when builds are started without commit_hash and pull_request_id parameters.

Is that a known issue ?