python-typed-template icon indicating copy to clipboard operation
python-typed-template copied to clipboard

Dependabot PRs don't receive snapshot updates

Open tekumara opened this issue 1 month ago • 0 comments

And leave a dangling branch on the origin.

Example of a snapshot update being pushed to a new branch, and not updating the PR:

On branch dependabot/pip/{{cookiecutter.repo_name}}/ruff-approx-eq-0.13.2
Your branch is up to date with 'origin/dependabot/pip/{{cookiecutter.repo_name}}/ruff-approx-eq-0.13.2'.

Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
	modified:   snapshots/default/pyproject.toml

no changes added to commit (use "git add" and/or "git commit -a")
[dependabot/pip/{{cookiecutter.repo_name}}/ruff-approx-eq-0.13.2 cd8d83c] chore: update snapshots
 1 file changed, 1 insertion(+), 1 deletion(-)
remote: 
remote: Create a pull request for 'dependabot/pip/{{cookiecutter.repo_name}}/ruff-approx-eq-0.13.2' on GitHub by visiting:        
remote:      https://github.com/tekumara/python-typed-template/pull/new/dependabot/pip/%7B%7Bcookiecutter.repo_name%7D%7D/ruff-approx-eq-0.13.2        
remote: 
To https://github.com/tekumara/python-typed-template
 * [new branch]      dependabot/pip/{{cookiecutter.repo_name}}/ruff-approx-eq-0.13.2 -> dependabot/pip/{{cookiecutter.repo_name}}/ruff-approx-eq-0.13.2
 *

Works fine on non-dependabot PRs, eg:

On branch bump-pre-commit-hooks
Your branch is up to date with 'origin/bump-pre-commit-hooks'.

Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
	modified:   snapshots/default/.pre-commit-config.yaml

no changes added to commit (use "git add" and/or "git commit -a")
[bump-pre-commit-hooks aa221b5] chore: update snapshots
 1 file changed, 1 insertion(+), 1 deletion(-)
To https://github.com/tekumara/python-typed-template
   1e7f58e..aa221b5  bump-pre-commit-hooks -> bump-pre-commit-hooks

tekumara avatar Nov 03 '25 00:11 tekumara