-
Notifications
You must be signed in to change notification settings - Fork 1
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
Add tokens to fix vercel-action deployments triggered by Dependabot #188
Comments
@mokaymokay This is solved by adding necessary tokens to dependabot and necessary github-token permissions to deploy workflow to solve this issue caused by github-token's read-only default permission(related doc) All dependabot PRs passed the checks! Should I merge them to main? |
hmm I don't think the issue is solved by adding the permissions to the The error says:
So I think it's because there's no commit message? Bryan fixed a similar issue yesterday by adding a default commit message for Dependabot. https://github.com/sanctuarycomputer/hinge/commit/8da019f80e03a7da64df1b6776ebde4c04a193d9 I think the errors may be gone because we added the commit "Update deploy.yml" |
@mokaymokay thanks for the feedback on the issue! ❇️ Short conclusion: added fixed version of dependabot config( ❇️ Long one: I think adding default commit message cannot solve the issue since,
|
@nahbee10 Thanks for explaining about the According to the docs, Can we double check the docs and only add the permissions that we need? TY! |
Good to merge the PRs btw, looks like none of them are major version updates~ |
We have Dependabot enabled to update dependencies, usually we can just merge these minor updates as they come up, but it seems like the previews are failing: https://github.com/sanctuarycomputer/sanctu-dot-com/actions/runs/4085007316/jobs/7042405703
We ran into the same issue with Hinge lately, basically it's due to Dependabot not having access to action secrets. This can be fixed by adding those same secrets to Dependabot secrets (option #2 listed in this comment)
You wouldn't need to see the Vercel tokens in the action secrets panel, so you'll need to generate new ones in Vercel here
This issue can be closed when:
The text was updated successfully, but these errors were encountered: