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 in developer workflow after adding doxygen build #191

Closed
AlysonStahl-NOAA opened this issue Jul 17, 2024 · 3 comments
Closed

Error in developer workflow after adding doxygen build #191

AlysonStahl-NOAA opened this issue Jul 17, 2024 · 3 comments
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@AlysonStahl-NOAA
Copy link
Collaborator

After merging #187, I'm getting the following error with the developer workflow:

Run actions/deploy-pages@v1
Error: Error message: Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable
at Function. (/home/runner/work/_actions/actions/deploy-pages/v1/webpack:/deploy-pages/node_modules/@actions/core/lib/oidc-utils.js:71:1)
at Generator.next ()
at /home/runner/work/_actions/actions/deploy-pages/v1/webpack:/deploy-pages/node_modules/@actions/core/lib/oidc-utils.js:8:1
at new Promise ()
at webpack_modules.8041.__awaiter (/home/runner/work/_actions/actions/deploy-pages/v1/webpack:/deploy-pages/node_modules/@actions/core/lib/oidc-utils.js:4:1)
at Function.getIDToken (/home/runner/work/_actions/actions/deploy-pages/v1/webpack:/deploy-pages/node_modules/@actions/core/lib/oidc-utils.js:57:1)
at Object. (/home/runner/work/_actions/actions/deploy-pages/v1/webpack:/deploy-pages/node_modules/@actions/core/lib/core.js:315:1)
at Generator.next ()
at /home/runner/work/_actions/actions/deploy-pages/v1/webpack:/deploy-pages/node_modules/@actions/core/lib/core.js:27:1
at new Promise ()
Error: Ensure GITHUB_TOKEN has permission "id-token: write".

@AlysonStahl-NOAA
Copy link
Collaborator Author

@edwardhartnett It looks like Wesley's PR is passing checks and it's up to date. Is it just failing for me because I'm working on my own fork?

@edwardhartnett
Copy link
Contributor

edwardhartnett commented Jul 17, 2024 via email

@edwardhartnett
Copy link
Contributor

OK, the problem was that I was running the documentation update in the developer workflow, which runs for PRs and pushes.

We don't want the documentation updated for PRs, just pushes. That is happening now. I am still experimenting with it, but I think this issue is resolved.

@edwardhartnett edwardhartnett self-assigned this Jul 18, 2024
@edwardhartnett edwardhartnett added the documentation Improvements or additions to documentation label Jul 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
No open projects
Status: Done
Development

No branches or pull requests

2 participants