In a GitActions YAML file how do I check to see if a User is part of a Team in Github ?
I know that the username can be got via ${{ github.actor }}
Note: The requirement is to allow only specific authorized users to be able to run a job within a workflow. (Say we restrict a step to the DBA team members)
Note: I am aware of Environments and the "Require reviewer" option. But this does not quite fit into the requirement.