-
-
Notifications
You must be signed in to change notification settings - Fork 102
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
Input required and not supplied: ${name}
#26
Comments
Do you still have problems? |
https://github.com/amondnet/vercel-action/runs/980730794?check_suite_focus=true
Unexpected input(s) 'name', valid inputs are... |
@amondnet we are getting these errors in PRs created by dependabot, other PRs are deployed successfully.
Our deployment step is set up as follows: - uses: amondnet/vercel-action@v20
with:
vercel-token: ${{ secrets.VERCEL_TOKEN }} # Required
github-token: ${{ secrets.GITHUB_TOKEN }} #Optional
vercel-org-id: ${{ secrets.VERCEL_ORG_ID}} #Required
scope: ${{ secrets.VERCEL_ORG_ID }}
vercel-project-id: ${{ secrets.VERCEL_PROJECT_ID}} #Required
vercel-args: "--confirm"
id: "vercel_deploy" |
@sk- Hi,
I think you have two options.
|
Thanks amond for the pointers. That clarifies the issue.
…On Sun, Jun 27, 2021, 11:56 PM amond ***@***.***> wrote:
@sk- <https://github.com/sk-> Hi,
https://github.blog/changelog/2021-02-19-github-actions-workflows-triggered-by-dependabot-prs-will-run-with-read-only-permissions/
I think you have two options.
1.
pull_request_target
If your workflow needs to have a write token or access to secrets, you
can use the pull_request_target
<https://docs.github.com/en/actions/reference/events-that-trigger-workflows#pull_request_target>
event; however, please read
Keeping your GitHub Actions and workflows secure: Preventing pwn
requests to better understand the risks
<https://securitylab.github.com/research/github-actions-preventing-pwn-requests>
.
2.
Adding a repository secret for Dependabot
You can store sensitive information, like passwords and access tokens,
as encrypted secrets and then reference these in the Dependabot
configuration file.
https://docs.github.com/en/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/managing-encrypted-secrets-for-dependabot#adding-a-repository-secret-for-dependabot
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#26 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAG6TGHXEYVUSSQGFJX5IBTTU7XFXANCNFSM4PVHNXHA>
.
|
I stumbled on this multiple time, also check this formidable blog post : https://hugo.alliau.me/2021/05/04/migration-to-github-native-dependabot-solutions-for-auto-merge-and-action-secrets/#share-your-secrets-with-dependabot |
Hi I'm getting this error, but I've added all the tokens to the repo settings.
The text was updated successfully, but these errors were encountered: