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

Error: Ensure GITHUB_TOKEN has permission "id-token: write". #53

Closed
bschilder opened this issue Mar 5, 2023 · 5 comments
Closed

Error: Ensure GITHUB_TOKEN has permission "id-token: write". #53

bschilder opened this issue Mar 5, 2023 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@bschilder
Copy link
Collaborator

Was running into this issue on dev branch #49, so i thought perhaps it was a branch-specific permissions issue.

But now seems to occuring in all versions of the workflow:

https://github.com/neurogenomics/rworkflows/actions/runs/4333504671/jobs/7566675699#step:4:1752
Screenshot 2023-03-05 at 00 28 47

Will try reaching out to the /deploy-pages action maintainers for help.

@bschilder bschilder added the bug Something isn't working label Mar 5, 2023
@bschilder bschilder self-assigned this Mar 5, 2023
@bschilder
Copy link
Collaborator Author

Possibly related? Not really clear on the language here:
actions/deploy-pages#111

@bschilder
Copy link
Collaborator Author

Aha! This would appear to be reason.
Screenshot 2023-03-05 at 00 43 11

Maybe I can fix this in the short term by using
actions/deploy-pages@main instead of actions/deploy-pages@v1

@bschilder
Copy link
Collaborator Author

Now all linux servers seem to be crashing a random points. Possibly related to leftovers from the previous failed run with actions/deploy-pages@v1? Rerunning with "\nocache"

Also confirmed that it's not an issue of coincidentally running out of GHA time:
Screenshot 2023-03-05 at 00 55 38

@bschilder
Copy link
Collaborator Author

Well, nocache seemed to get rid of the random failing issue, but alas the original issue of permission remains. I guess that hasn't been resolve on actions/deploy-pages@main either. Will reach out to the developers and see if they've implemented a solution on another branch
Screenshot 2023-03-05 at 01 05 39

@bschilder
Copy link
Collaborator Author

For the sake of users who are relying on rworkflows, I'm moving back to the old JamesIves/github-pages-deploy-action@releases/v4 action until I can be certain actions/deploy-pages is working. Will continue to test this out on the dev branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Todo
Development

No branches or pull requests

1 participant