Actions V2 PreAccessToken and requested scopes
I would like to use the actions v2 to add some claims to a jwt. Does the payload that the webhook receives contains the requested scope?
preaccesstoken includes the requested scopes. Here are some relevant sources:preaccesstoken function to add claims to JWT access tokens, but does not detail the exact payload structure or whether scopes are included.request.oidc.scopes[], but notes that "Actions v2 will change this to be more easy" — suggesting the payload structure differs.preaccesstokenpreaccesstokenrequest.oidc.scopes[]