thisisnic opened a new issue, #50532:
URL: https://github.com/apache/arrow/issues/50532

   The r_nightly.yml workflow has been failing since June 19, when #48886 
replaced github3 with pygithub in archery.
   
   The upload job crashes during `archery crossbow download-artifacts`:
   
   ```
   File ".../github/Auth.py", line 162, in __init__
       assert isinstance(token, str)
   AssertionError
   ```
   
   The workflow doesn't pass `CROSSBOW_GITHUB_TOKEN` to the download-artifacts 
step 
(https://github.com/apache/arrow/blob/98ee71ec2be85d3ac535be367c6edacc0bc09c7c/.github/workflows/r_nightly.yml#L82),
 so archery receives `None` as the token. The old github3 library handled this 
gracefully (unauthenticated access), but pygithub's `Auth.Token` requires an 
actual string.
   
   Last successful run: June 18. Every run since June 19 has failed: 
https://github.com/apache/arrow/actions/workflows/r_nightly.yml
   
   This means no R nightly binaries have been uploaded for a month, which 
affects anyone trying to install the dev version of the R package on Windows 
(they get "No nightly binaries were found" and can't build from source).
   
   The comment_bot.yml workflow is unaffected because it explicitly passes the 
token.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to