Hi
I’m calling CircelCi from Github Action using CCI API to trigger workflow every commit a user does as follows (I don’t want to use Webhooks to call CCI)
The CCI Token that I use is the token of Ops user - When looking to the Dashboard I see that the user which trigger the CI is Ops (and not the user which commit the)
I know the user which push the commit - Is there any way to make CCI to think that the user which invoke the CI is the user which commit (so that the Dashboard will show the user which commit)
Some thing like parameter or Header ?
curl -X POST --fail --show-error "https://circleci.com/api/v2/project/gh/${{ github.repository_owner }}/${{ github.event.repository.name }}/pipeline" \
--header "Circle-Token: ${{ secrets.CIRCLECI_API_TOKEN }}" \
--header "content-type: application/json" \
--data "{\"branch\":my_branch,\"parameters:my_workflow:true}}"