Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Github token results in Permission denied to github-actions #319

Closed
1 task done
henryiii opened this issue May 22, 2020 · 9 comments
Closed
1 task done

Github token results in Permission denied to github-actions #319

henryiii opened this issue May 22, 2020 · 9 comments
Assignees
Labels

Comments

@henryiii
Copy link

henryiii commented May 22, 2020

Note that an issue which does not follow the template will be closed silently.

Check list before opening this issue

Describe your question

I'm setting this up for a jupyterbook (new beta version). When I add this for the first time in a repo using GITHUB_TOKEN (normally I push across repos so have not been able to use the token method for actions-gh-pages before), I get the CI error: "Permission to scikit-hep/scikit-hep-tutorials.git denied to github-actions". I've tried adding a gh-pages branch in the repo, and it doesn't change (mostly rerunning the action without a new commit). I do notice that:

/usr/bin/git remote rm origin
50
  fatal: No such remote: 'origin'
51
  [INFO] The process '/usr/bin/git' failed with exit code 128

Shows up earlier, but I don't think that's a problem, as it seems to continue after that. Here's the problem part:

/usr/bin/git push origin --force gh-pages
109
  remote: Permission to scikit-hep/scikit-hep-tutorials.git denied to github-actions[bot].
110
  fatal: unable to access 'https://github.com/scikit-hep/scikit-hep-tutorials.git/': The requested URL returned error: 403
111
  ##[error]Action failed with "The process '/usr/bin/git' failed with exit code 128"

I think this is likely a user error, but I don't see what I might have broken. The initial setup in the logs looks fine. I've tried the 3.5.9 version recommended in the jupyter-book docs, and the latest version.

Link to your contents

Screenshots

If applicable, add screenshots to help explain your question.

Additional context

Add any other context about the problem here.

@henryiii henryiii added the support User support label May 22, 2020
@henryiii henryiii changed the title Github token results in Permission to scikit-hep/scikit-hep-tutorials.git denied to github-actions Github token results in Permission denied to github-actions May 22, 2020
@peaceiris
Copy link
Owner

peaceiris commented May 22, 2020

GitHub is down now. Try it again later.
actions/checkout#254

@henryiii
Copy link
Author

Just my luck, perfect timing. :)

@peaceiris

This comment has been minimized.

@henryiii

This comment has been minimized.

@henryiii

This comment has been minimized.

@peaceiris
Copy link
Owner

Sorry, do not mind. I was waked up by many CI errors at midnight. I am so sleepy I misunderstood.

@jrappen
Copy link

jrappen commented May 22, 2020

https://www.githubstatus.com/ looks bad at the moment.

@peaceiris
Copy link
Owner

This issue was a temporary problem caused by the degradation of GitHub.

Thanks all for reporting!

@github-actions
Copy link
Contributor

This issue has been LOCKED because of it being resolved!

The issue has been fixed and is therefore considered resolved.
If you still encounter this or it has changed, open a new issue instead of responding to solved ones.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 25, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants