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

Dependabot updates not working #830

Closed
baperry2 opened this issue Jul 23, 2024 · 2 comments
Closed

Dependabot updates not working #830

baperry2 opened this issue Jul 23, 2024 · 2 comments

Comments

@baperry2
Copy link
Contributor

Dependaboit hasn't been submitting submodule update PRs. This has been going on approximately since we updated the submodules to be shallow by default in #821, so perhaps that is interfering with the way dependabot updates them.

@marchdf
Copy link
Contributor

marchdf commented Jul 23, 2024

well that's annoying...

@baperry2
Copy link
Contributor Author

baperry2 commented Sep 3, 2024

For posterity, the full dependabot error was:

Dependabot failed to create a pull request
Dependabot ran into an issue when attempting to create the pull request

Dependabot encountered the following error:

POST https://api.github.com/repos/AMReX-Combustion/PeleC/git/refs: 422 - Reference update failed // See: https://docs.github.com/rest/git/refs#create-a-reference
[Troubleshoot Dependabot errors](https://docs.github.com/github/managing-security-vulnerabilities/troubleshooting-dependabot-errors)

The issue was not shallow submodules after all. Instead, it was the branch protection rule not allowing new branches to be created. For dependabot to work, it looks like an "always allow" bypass must be created for dependabot.

@baperry2 baperry2 closed this as completed Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants