Skip to content

gh-pages CI job on PRs is erroring out #466

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

Closed
rgommers opened this issue Jul 27, 2022 · 4 comments
Closed

gh-pages CI job on PRs is erroring out #466

rgommers opened this issue Jul 27, 2022 · 4 comments
Labels
CI Continuous Integration.

Comments

@rgommers
Copy link
Member

The preview CI job seems to have an issue right now, from this log from gh-464:

Run git push "***github.com/data-apis/array-api.git"
remote: Permission to data-apis/array-api.git denied to github-actions[bot].
fatal: unable to access 'https://github.com/data-apis/array-api.git/': The requested URL returned error: 403
Error: Process completed with exit code 128.

It seems to be misconfigured, so it works for PRs made from a branch within this repo, but fails when it's from a fork. We shouldn't use the former anyway, @kgryte can you please send PRs from your fork and clean up the many branches in this repo?

@rgommers rgommers added the CI Continuous Integration. label Jul 27, 2022
@jakirkham
Copy link
Member

Maybe a token expired and needs to be regenerated/readded?

rgommers added a commit to rgommers/array-api that referenced this issue Jul 29, 2022
@rgommers
Copy link
Member Author

Fixed now. There were two problems:

  1. The publish workflow was running on branches other than main
  2. The preview CI job on CircleCI was not triggering on forks.

To fix (2), I had to toggle this button:

image

@rgommers
Copy link
Member Author

Third issue is that the permissions issue reported above is still happening on main.

@rgommers rgommers reopened this Jul 29, 2022
@rgommers
Copy link
Member Author

That last issue fixed in commit 792f11e.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI Continuous Integration.
Projects
None yet
Development

No branches or pull requests

2 participants