Hi,

In the past I have successfully submitted new PRs.  However, when I tried 
today, I got:

  [build@admin ~]$ eb --new-pr --git-working-dirs-path=~/git 
--github-user=tardigradus --pr-commit-msg="{data}[foss-2021b] RStan v2.21.5 w/ 
R 4.1.2" ~/easyconfigs/RStan-2.21.5-foss-2021b-R-4.1.2.eb
  == Temporary log file in case of crash /tmp/eb-mp19jq6s/easybuild-_u_eolj6.log
  == found valid index for 
/trinity/shared/easybuild/software/EasyBuild/4.5.5/easybuild/easyconfigs, so 
using it...
  == found valid index for 
/trinity/shared/easybuild/software/EasyBuild/4.5.5/easybuild/easyconfigs, so 
using it...
  == fetching branch 'develop' from 
https://github.com/easybuilders/easybuild-easyconfigs.git...
  == copying files to 
/tmp/eb-mp19jq6s/git-working-dir9yzypblw/easybuild-easyconfigs...
  == pushing branch '20220608140722_new_pr_RStan2215' to remote 
'github_tardigradus_SbVOR' 
([email protected]:tardigradus/easybuild-easyconfigs.git)
  ERROR: GitHub token for user 'tardigradus' must be available to open a pull 
request

Running

  eb --check-github  --github-user=tardigradus         

gave

  == Temporary log file in case of crash /tmp/eb-qoptphw6/easybuild-t_h6dk5i.log

  Checking status of GitHub integration...

  Making sure we're online...OK

  * GitHub user...tardigradus => OK
  * GitHub token...(no token found) => FAIL
  * git command...OK ("git version 1.8.3.1; ")
  * GitPython module...OK (GitPython version 1.0.2)
  * push access to tardigradus/easybuild-easyconfigs repo @ GitHub...OK
  * creating gists...FAIL (gist_url: None)
  * location to Git working dirs... not found (suboptimal)

I thought the token was needed primarily for the push, which worked.  To
actually create the PR I had to press a button in Github, which I don't
remember having done in the past.

Does anyone know what the issue might be?

Cheers,

Loris

-- 
Dr. Loris Bennett (Herr/Mr)
ZEDAT, Freie Universität Berlin         Email [email protected]

Reply via email to