Migrating from Github Actions to Bitbucket pipelines. We need to use dynamic pipelines to assign the task to self hosted runners.
Is there a Bitbucket API to run the equivalent of below command ? (Or similar trick would work)
Thanks @Daniil Penkin for the prompt and kind reply.
After trying the API as you suggested, I wasn't successful with the spec piece using the below:
<hash>..<main>. ( we use main instead of master)
However using the hash only for spec also helped.