amoeba commented on issue #47075:
URL: https://github.com/apache/arrow/issues/47075#issuecomment-3070213152

   Thanks @assignUser, @raulcd.
   
   @raulcd: I could get behind the one-token idea I think. I like the 
`ARROW_`/`CROSSBOW_` prefixed tokens since I set them as shell-global and don't 
worry about them. If we used just GH_TOKEN, would you set them shell-global, 
would you use a dotenv style approach, or something else?
   
   If we used just GH_TOKEN, I think I would no longer set the token as 
shell-global because of how the `gh` CLI handles precedence, from [`gh 
environment`](https://cli.github.com/manual/gh_help_environment):
   > GH_TOKEN, GITHUB_TOKEN (in order of precedence): an authentication token 
that will be used when a command targets either or a subdomain of . Setting 
this avoids being prompted to authenticate and takes precedence over previously 
stored credentials.
   
   I would probably convert to a dotenv approach because I want to use my 
default credentials most of the time. I'm not sure what other committers would 
do.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscr...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to