Replies: 4 comments 6 replies
-
|
Regarding the configuration of https://github.com/UnlyEd/github-action-await-vercel, a VERCEL_TOKEN is configured, though. Looking back at the logs of the actions, it seems that it failed to retrieve the token in the past, too. But it also worked 15 days ago... https://github.com/UnlyEd/github-action-await-vercel/actions I'm not sure why you encountered this issue. It seems a bit random at first look. 🤔 |
Beta Was this translation helpful? Give feedback.
-
|
Okay, the reason why the VERCEL_TOKEN was empty and why the actions failed at https://github.com/UnlyEd/github-action-await-vercel/actions is because the workflow was triggered by a 3rd party, which doesn't have read access to our repository GitHub's secrets. See https://stackoverflow.com/a/58740879/2391795 for deeper explanations. And the reason sometimes it worked, was because those runs were triggered by our own PRs, which have read access to the GitHub's secrets. Now, why did it fail for you is another issue, I believe you should log your VERCEL_TOKEN to see if it contains the expected value. |
Beta Was this translation helpful? Give feedback.
-
|
I suggest trying using 1.2.14 version. And if you can provide your full action's code too, that might be helpful. |
Beta Was this translation helpful? Give feedback.
-
|
It still occurs with Run UnlyEd/[email protected]
Error: VERCEL_TOKEN environment variable is not defined. Please create a GitHub "VERCEL_TOKEN" secret. See https://vercel.com/account/tokens
/home/runner/work/_actions/UnlyEd/github-action-await-vercel/v1.2.14/webpack:/github-action-await-vercel/lib/main.js:45
if (!core.isDebug()) {
^
Error: VERCEL_TOKEN environment variable is not defined. Please create a GitHub "VERCEL_TOKEN" secret. See https://vercel.com/account/tokens
at run (/home/runner/work/_actions/UnlyEd/github-action-await-vercel/v1.2.14/webpack:/github-action-await-vercel/lib/main.js:45:1)
at Object.__webpack_require__ (/home/runner/work/_actions/UnlyEd/github-action-await-vercel/v1.2.14/webpack:/github-action-await-vercel/lib/main.js:66:1)
at __nccwpck_require__ (/home/runner/work/_actions/UnlyEd/github-action-await-vercel/v1.2.14/webpack:/github-action-await-vercel/webpack/bootstrap:21:1)
at /home/runner/work/_actions/UnlyEd/github-action-await-vercel/v1.2.14/webpack:/github-action-await-vercel/webpack/startup:4:1
at Object.<anonymous> (/home/runner/work/_actions/UnlyEd/github-action-await-vercel/v1.2.14/webpack:/github-action-await-vercel/webpack/startup:4:1)
at Module._compile (internal/modules/cjs/loader.js:959:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:995:10)
at Module.load (internal/modules/cjs/loader.js:815:32)
at Function.Module._load (internal/modules/cjs/loader.js:727:14)
at Function.Module.runMain (internal/modules/cjs/loader.js:1047:10)IIRC, it does not trigger by the 3rd party. So, any suggestions? Or it's an actions limitation? |
Beta Was this translation helpful? Give feedback.


Uh oh!
There was an error while loading. Please reload this page.
-
Workflow
Error
I already created a
VERCEL_TOKENsecret and I also see this error on UnlyEd/github-action-await-vercel with a dependabot's pull requestsBeta Was this translation helpful? Give feedback.
All reactions