CircleCI-Archived / api-preview-docs

In-progress docs about the pre-release preview of CircleCI API v2
72 stars 26 forks source link

Trigger workflow in different repo with same user #73

Open activist opened 4 years ago

activist commented 4 years ago

First I would like to say that I really like the new API for pipelines.

A feature I really would like is to be able to from a workflow/job A trigger a workflow B in a different repo using the same user as in workflow A. The first is possible now, but the automatic feedback is somewhat lost since the executing user on workflow B is different than on workflow A.

Does this make sense?

sulami commented 4 years ago

So you would like to trigger another pipeline from a pipeline while preserving the user?

Possible solutions I can think of right now: we could expose a way to get the API token used in a similar way to how secrets work, or add some way of running automatically authenticated API requests, or give you a direct way of triggering another pipeline without using the API.

@ndintenfass probably has opinions on this.