Giter Site home page Giter Site logo

Comments (6)

dhimmel avatar dhimmel commented on June 1, 2024

Hmm "Upgrade Manubot to fix pubmed API calls." is the commit message for b7a5c3f (the latest commit), but isn't an actual error that Manubot issues.

from rootstock.

tiwns avatar tiwns commented on June 1, 2024

Yes, its Commit [b7a5c3f]. It is failing for my newer repositories but worked fine on the old repositories.

from rootstock.

dhimmel avatar dhimmel commented on June 1, 2024

Can you copy the GitHub Actions log and and paste it here? Will be helpful to see more about the error and the messages proceeding it.

from rootstock.

tiwns avatar tiwns commented on June 1, 2024

Here it is:

Run bash ci/deploy.sh
Already on 'main'
M	webpage/README.md
Your branch is up to date with 'origin/main'.
[INFO] Detected MANUBOT_ACCESS_TOKEN. Will deploy via HTTPS.
fatal: couldn't find remote ref gh-pages
[INFO] could not fetch gh-pages or output from origin.
##WARNING
Checkout returned a nonzero exit status. See output:
fatal: invalid reference: gh-pages
remote: Write access to repository not granted.
fatal: unable to access '[removed address]': The requested URL returned error: 403
Traceback (most recent call last):
  File "/usr/share/miniconda3/envs/manubot/bin/ghp-import", line 10, in <module>
    sys.exit(main())
             ^^^^^^
  File "/usr/share/miniconda3/envs/manubot/lib/python3.11/site-packages/ghp_import.py", line 300, in main
    ghp_import(args.pop("directory"), **args)
  File "/usr/share/miniconda3/envs/manubot/lib/python3.11/site-packages/ghp_import.py", line 285, in ghp_import
    git.check_call('push', opts['remote'], opts['branch'])
  File "/usr/share/miniconda3/envs/manubot/lib/python3.11/site-packages/ghp_import.py", line 119, in check_call
    sp.check_call(['git'] + list(args), **kwargs)
  File "/usr/share/miniconda3/envs/manubot/lib/python3.11/subprocess.py", line 413, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['git', 'push', 'origin', 'output']' returned non-zero exit status 128.
Error: Process completed with exit code 1.

Manubot did copy the the template into my repository. However GHActions is not working. I

from rootstock.

tiwns avatar tiwns commented on June 1, 2024

In addition for an organization repository, I receive this error:

Error: .github#L1
conda-incubator/setup-miniconda@v2 is not allowed to be used in XXXX. Actions in this workflow must be: within a repository that belongs to your Enterprise account, created by GitHub, verified in the GitHub Marketplace, or matching the following:

from rootstock.

dhimmel avatar dhimmel commented on June 1, 2024

Regarding "Write access to repository not granted", if you go to /settings/actions can you see which box is checked:

image

If you add the following to .github/workflows/manubot.yaml, that should also fix it (docs):

permissions:
  contents: write

We should probably add this to rootstock, but would be good if you can confirm it fixes the problem.

Actions in this workflow must be: within a repository that belongs to your Enterprise account, created by GitHub, verified in the GitHub Marketplace, or matching the following

Looks like the organization has a setting that blocks the conda-incubator/setup-miniconda action. See if someone with admin access to the organization can allow this and the other dependent actions.

from rootstock.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.