I have an Azure DevOps pipeline build configuration which builds automatically with the master branch. I want to access the GitHub user or username who committed last.
If I access variables
$(Build.RequestedFor) in a build that I triggered manually from the portal, I get the outputs as
But when I pushed code to master and triggered automatically with CI, I get outputs for the variables as
I can access all other variables like
in all the cases without any issues.
How to get Github username variable as
Sith instead of