Skip to content

Dependabot PRs don't receive snapshot updates #126

Description

@tekumara

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions