Getting permissions of GITHUB_TOKEN in workflows #37395
-
I'd like to know if the current However, I see no way of getting it programmatically within the workflow. The various contexts don't seem to contain this. Any tips? |
Beta Was this translation helpful? Give feedback.
Answered by
airtower-luna
Oct 26, 2022
Replies: 1 comment 3 replies
-
When you make any API request authorized with the token, the response should contain an |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
Piedone
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When you make any API request authorized with the token, the response should contain an
x-oauth-scopes
header that tells you which scopes it has.