repo scope to use this endpoint.actions_variables:write repository permission to use this endpoint.curl --location --request PATCH '/repos///actions/variables/' \
--header 'Content-Type: application/json' \
--data '{
"name": "USERNAME",
"value": "octocat"
}'{}