You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Manifest location and content before the Dependabot update
No response
dependabot.yml content
No response
Updated dependency
No response
What you expected to see, versus what you actually saw
We're running Chromatic to publish storybook on our new repo, but we want to skip this github action running on dependabot branches.
They suggest adding skip: dependabot/** to the chromatic.yml file for this purpose. We have done this on our other repo.
However, as branch names on here don't start the same as expected, we're unable to target them.
Is there a reason the branch names start with a random hash here?
Is there a way to ask Dependabot to name its branches in a set way for us to target?
We have another repo where all branches open like this:
This new repo, the branches are structures like this:
Native package manager behavior
No response
Images of the diff or a link to the PR, issue, or logs
No response
Smallest manifest that reproduces the issue
No response
The text was updated successfully, but these errors were encountered:
@jeffwidman I thought this too, but the hash is being applied to the beginning of our branch names, not the end. From what I understand of the max_length configuration option, it'll truncate any branch names exceeding this length and chuck the hash at the end. But I might just be misunderstanding the code.
Do you have a branch named "dependabot" in your repository? Having a branch named "dependabot" prevents Dependabot from using its default naming scheme. Because branch names map to files names in the system (for example, .git/refs/heads/dependabot), git will refuse to create a branch named "dependabot/foo" because a parent directory of .git/refs/heads/dependabot/foo already exists.
This is a known git limitation, so unlikely that we can fix it, but Dependabot deals with the situation by prepending a random prefix to the branch name to resolve the conflict. However, it does not explain why it does this, so it gets confusing when it happens.
We do plan to add a note about this in PRs where this is happening, so that the reason for this is more clear.
👋 This issue has been marked as stale because it has been open for 2 years with no activity. You can comment on the issue to hold stalebot off for a while, or do nothing. If you do nothing, this issue will be closed eventually by the stalebot. Please see CONTRIBUTING.md for more policy details.
Is there an existing issue for this?
Package ecosystem
yarn
Package manager version
No response
Language version
No response
Manifest location and content before the Dependabot update
No response
dependabot.yml content
No response
Updated dependency
No response
What you expected to see, versus what you actually saw
We're running Chromatic to publish storybook on our new repo, but we want to skip this github action running on dependabot branches.
They suggest adding
skip: dependabot/**
to thechromatic.yml
file for this purpose. We have done this on our other repo.However, as branch names on here don't start the same as expected, we're unable to target them.
Is there a reason the branch names start with a random hash here?
Is there a way to ask Dependabot to name its branches in a set way for us to target?
We have another repo where all branches open like this:
This new repo, the branches are structures like this:
Native package manager behavior
No response
Images of the diff or a link to the PR, issue, or logs
No response
Smallest manifest that reproduces the issue
No response
The text was updated successfully, but these errors were encountered: