Get the git repository access token as workflows secret environment variable

Hi there,

In my custom script in ci-scripts, I had to call my git repository rest api to fetch registries (but also had to create tags, releases and more...)

I added an ad-hoc secret environment variable to my workflow with a fresh access token as explained in this WWDC Video.

But I wonder :

Is there a way to get the git repository Access Token we provide to Xcode Cloud when we associate it to our git repository following the Source code management setup page as an Environment Variable of the project Workflows ?

If I get it right, before I had the had-oc access token, I was able to clone the other git repositories of my project... So IMHO, the access token provided during the setup should be available somewhere (at least for the git commands).

Get the git repository access token as workflows secret environment variable
 
 
Q